Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? - Mailing list pgsql-general

From Dominic J. Eidson
Subject Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Date
Msg-id Pine.LNX.4.21.0102071044360.11540-100000@morannon.the-infinite.org
Whole thread Raw
In response to Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?  (Brice Ruth <brice@webprojkt.com>)
List pgsql-general
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/


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Next
From: Ian Lance Taylor
Date:
Subject: Re: Cursors in SPI functions/procedures