Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Дата
Msg-id Pine.LNX.4.30.0102071157540.14692-100000@chapelperilous.net
обсуждение исходный текст
Ответ на Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?  (Brice Ruth <brice@webprojkt.com>)
Список 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/\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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Ian Lance Taylor
Дата:
Сообщение: Re: Cursors in SPI functions/procedures
Следующее
От: Crispin Miller
Дата:
Сообщение: Re: Not using index