Mail Archives: djgpp/1996/04/21/04:22:23
On Sun, 21 Apr 1996 j DOT aldrich6 AT genie DOT com wrote:
> I had a problem with getting programs like find to interface properly with
> dos commands, so I wrote a little program called 'doscmd' that takes a
> Unix-style command line and converts it into a DOS command line,
> so:
>
> find \cprogs -name "*.o" -exec doscmd del {} ';'
>
> would work correctly. Essentially, it just changes all forward slashes to
Rejoice! The next version of GNU Find port to DJGPP has special actions
-dosexec and -dosok that does this slash conversion automagically, so you
just say
find \cprogs -name "*.o" -dosexec del {} ;
and that's it! (Btw, there is no need to quote the semicolon on MS-DOS.)
When DJ has time, he will put the new port on SimTel.
- Raw text -