Re: [INTERFACES] iodbc interface on Unix

Поиск
Список
Период
Сортировка
От Gerald Gryschuk
Тема Re: [INTERFACES] iodbc interface on Unix
Дата
Msg-id 35DDD0D7.A6340BAA@scf.sk.ca
обсуждение исходный текст
Ответ на iodbc interface on Unix  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Список pgsql-interfaces
Byron Nikolaidis wrote:
>
> Thomas G. Lockhart wrote:
>
> > 3) Many, but not all, of the source code files have DOS-specific EOL
> > characters. I'd like to strip those out of the code which is sitting on
> > Unix boxes, and have them correct when sitting on your DOS machines too.
> > Can we transfer files using FTP ascii transfers to fix the EOL problems
> > in the future? Or is there another way which will get this fixed up?? In
> > the meantime I will clean up all the files I have, and then can get them
> > to you via the Postgres web site.
> >
>
> OK.  I do transfer files to Postgresql.org using ftp ascii.  Just the
> postsrc.zip distribution would have dos crap in it.

I noticed this too the first few times I unzipped postsrc.zip until I
remebered that
unzip(I'm assuming Thomas your using the same one I am) has a "-a"
option to convert
all text files to the proper line endings regardless of where the file
originated.
i.e. if you do "unzip -a postsrc.zip" the problems with DOS EOL
characters goes
away.

--
Gerald Gryschuk(ggryschuk@scf.sk.ca)
Programmer Analyst
Saskatoon Cancer Centre
((306)655-2746)

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

Предыдущее
От: Byron Nikolaidis
Дата:
Сообщение: Re: [INTERFACES] iodbc interface on Unix
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [INTERFACES] iodbc interface on Unix