[plug] Thanks everyone for your help with the dos2unix problem...

John Summerfield summer at os2.ami.com.au
Tue Jun 1 09:37:34 WST 1999


> Just wanted to express my thanks for everyone who helped me out with the
> dos2unix problem... I had a bunch of files that I'd edited under windows
> (because I didn't have a local unix box 8-(  ) - and then realised this
> problem when I ftp'd them back in (in a tar file) - the suggestions here
> helped me a bunch - managed to save myself a bunch of time that I would
> otherwise have had to spend scrolling through all of them with vi... ;-)  

vim could do the lot in about a minute: run it in its non-gui mode, run 
the command
:fileformat=unix
then write & quit.

You can feed it commands from the commandline, and run it vi the find 
command:
find junk -type f -name \*.html -exec ex [ex options] {} \;


-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.




More information about the plug mailing list