Path: utzoo!attcan!uunet!bfmny0!tneff From: tneff@bfmny0.BFM.COM (Tom Neff) Newsgroups: comp.unix.sysv386 Subject: Re: Converting DOS text files Keywords: SCO ODT Message-ID: <15964@bfmny0.BFM.COM> Date: 16 Oct 90 04:07:45 GMT References: <1477@pai.UUCP> Reply-To: tneff@bfmny0.BFM.COM (Tom Neff) Lines: 22 In article <1477@pai.UUCP> erc@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@bfmny0.BFM.COM