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
- [SLUG] CRLF to LF conversion Marshall, Joshua
- Re: [SLUG] CRLF to LF conversion Brock Henry
- Re: [SLUG] CRLF to LF conversion Ken Yap
- Re: [SLUG] CRLF to LF conversion Brett Esra
- Re: [SLUG] CRLF to LF conversion Jeff Waugh
- Re: [SLUG] CRLF to LF conversion chesty
