Received: from chapelperilous.net (chapelperilous.net [216.254.44.199]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f17GsBx76395; Wed, 7 Feb 2001 11:54:12 -0500 (EST) (envelope-from bmccoy@chapelperilous.net) Received: from localhost (bmccoy@localhost) by chapelperilous.net (8.9.3/8.9.3) with ESMTP id LAA15985; Wed, 7 Feb 2001 11:58:48 -0500 Date: Wed, 7 Feb 2001 11:58:48 -0500 (EST) From: "Brett W. McCoy" To: Brice Ruth cc: Tom Lane , Michael Fork , Ian Harding , , Subject: Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? In-Reply-To: <3A817A1F.8544A75C@webprojkt.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200102/345 X-Sequence-Number: 4218 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' 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.