From: Brett W. McCoy <bmccoy@chapelperilous.net>
To: Brice Ruth <brice@webprojkt.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Fork <mfork@toledolink.com>
Cc: Ian Harding <iharding@pakrat.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Date: Wed, 7 Feb 2001 11:58:48 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0102071157540.14692-100000@chapelperilous.net> (raw)
In-Reply-To: <3A817A1F.8544A75C@webprojkt.com>
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/\cM\\g' <filename>
will do the trick, assuming you have Perl instaleld on your system.
-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Money will say more in one moment than the most eloquent lover can in years.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: bmccoy@chapelperilous.net, brice@webprojkt.com, tgl@sss.pgh.pa.us, mfork@toledolink.com, iharding@pakrat.com, pgsql-general@postgresql.org
Subject: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
In-Reply-To: <Pine.LNX.4.30.0102071157540.14692-100000@chapelperilous.net>
References: <3A817A1F.8544A75C@webprojkt.com> <Pine.LNX.4.30.0102071157540.14692-100000@chapelperilous.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox