| From: | "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net> |
|---|---|
| To: | Brice Ruth <brice(at)webprojkt(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Fork <mfork(at)toledolink(dot)com>, Ian Harding <iharding(at)pakrat(dot)com>, <pgsql-general(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? |
| Date: | 2001-02-07 16:58:48 |
| Message-ID: | Pine.LNX.4.30.0102071157540.14692-100000@chapelperilous.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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/\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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brice Ruth | 2001-02-07 17:23:37 | Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? |
| Previous Message | clayton cottingham | 2001-02-07 16:47:57 | Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2001-02-07 17:21:12 | Re: Is this a bug, or is it just me? |
| Previous Message | clayton cottingham | 2001-02-07 16:47:57 | Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? |