On Wed, 7 Feb 2001, Brice Ruth wrote:
> Is there a simple (unix) command I can run on text files to convert
> cr/lf to lf? The way I did it seemed pretty ass-backward to me (not to
> mention time consuming).
perl -pi~ -e 's/\r//g' file1 file2 ... fileN
--
Dominic J. Eidson
"Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/ http://www.the-infinite.org/~dominic/
- [GENERAL] Re: [SQL] Re: SQL Join - MySQL/PostgreSQL diff... Michael Fork
- [GENERAL] Re: [SQL] Re: SQL Join - MySQL/PostgreSQL... Tom Lane
- [GENERAL] Re: [SQL] Re: SQL Join - MySQL/PostgreSQL... Michael Fork
- Re: [GENERAL] Re: [SQL] Re: SQL Join - MySQL/Postgr... Dominic J. Eidson
- Re: [GENERAL] Re: [SQL] Re: SQL Join - MySQL/Postgr... Brett W. McCoy
- Re: [GENERAL] Re: [SQL] Re: SQL Join - MySQL/Postgr... Brice Ruth
