Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Dominic J. Eidson <sauron@the-infinite.org>
From: "Dominic J. Eidson" <sauron@the-infinite.org>
To: Brice Ruth <brice@webprojkt.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Michael Fork <mfork@toledolink.com>, Ian Harding <iharding@pakrat.com>, pgsql-general@postgresql.org, pgsql-sql@postgresql.org
Date: 2001-02-07T16:45:31Z
Lists: pgsql-general, pgsql-sql
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/