At 10:21 03/01/2001 +1000, you wrote:
>I should know how to do this.... but how can I convert a stack of files
>from CRLF to LF format?

well... for one file, sed "s/^M$//" infile > outfile, press CTRL-V CTRL-M 
to get the ^M

Not sure about a stack of files.

find . -name \* -exec sed "s/^M$//" {} > {}.out \;

or something maybe



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to