Converting DOS text files
Tom Neff
tneff at bfmny0.BFM.COM
Tue Oct 16 14:07:45 AEST 1990
In article <1477 at pai.UUCP> erc at pai.UUCP (Eric Johnson) writes:
>dtox. Unfortunately, dtox is a filter. That is, you call it
>with something like:
>
> dtox dosfile > unixfile
>
>This is nice, but I have a big problem. I have 30 to 40 files I
>want to un-DOS at a time.
The solution is to learn how to use the shell.
for f in *.txt
do
g=`echo $f | sed -e 's/txt$/out/'` # sample.txt -> sample.out
dtox < $f > $g
done
I bet even SCO supports this construct. ;-)
--
War is like love; it always \%\%\% Tom Neff
finds a way. -- Bertold Brecht %\%\%\ tneff at bfmny0.BFM.COM
More information about the Comp.unix.sysv386
mailing list