Re: EOL on OS X

Поиск
Список
Период
Сортировка
Искать
От
Henry B. Hotz
Тема
Re: EOL on OS X
Дата
Msg-id
p05111702bac649b4a827@[137.78.212.225]
Ответ на
EOL on OS X (Bruce Momjian)
Список
Дерево обсуждения
EOL on OS X Bruce Momjian <pgman@candle.pha.pa.us>
Re: EOL on OS X "Henry B. Hotz" <hotz@jpl.nasa.gov>
Re: EOL on OS X Tom Lane <tgl@sss.pgh.pa.us>
At 7:38 PM -0400 4/18/03, Bruce Momjian wrote:
>What is the default end-of-line character on OS X?  7.4 COPY will
>support \n, \r, and \r\n, and I need to know that to use as a default on
>OS X.

Traditional Mac is to use \r.  However OSX is really Unix underneath 
where Postgres works so I think it would be better to stick with \n. 
I don't know exactly what they are doing, but I've noticed that OSX 
applications don't seem to have a problem with \n in text files the 
way they did under OS9.

AFAIK only Windows uses the \r\n combination.
-- 
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu

В списке pgsql-ports по дате отправления
От: Bruce Momjian
Дата:
Сообщение: EOL on OS X
От: Tom Lane
Дата:
Сообщение: Re: EOL on OS X
FAQ