pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jean-Luc Lachance <jllachan@nsd.ca>
To: Chad Thompson <chad@weblinkservices.com>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: CSV import
Date: Fri, 31 Jan 2003 10:27:47 -0500
Message-ID: <3E3A95F3.842C9691@nsd.ca> (raw)
References: <3E3697AF.2030509@aon.at>
	<3E370095.3020200@incentre.net>
	<3E373369.52C862DE@nsd.ca>
	<013601c2c8a0$f6ca2280$32021aac@chad>

In DOS and Windows, text lines end with <CR><LF>.
In Unix, text lines end with <LF> only.

                hex   dec    oct
<CR>=CTRL-M or 0x0D or 13 or 015
<LF>=CTRL-J or 0x0A or 10 or 012



Chad Thompson wrote:
> 
> >
> > Unix EOL is LF not CR.
> >
> >
> 
> Is this the only difference between a dos and unix text file?
> 
> Thanks
> Chad
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html



view thread (12+ messages)  latest in thread

Message-ID: <3E3A95F3.842C9691@nsd.ca>
Permalink:  ../3E3A95F3.842C9691@nsd.ca/
Also on:    postgresql.org/message-id/3E3A95F3.842C9691@nsd.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jllachan@nsd.ca, chad@weblinkservices.com
  Subject: Re: CSV import
  In-Reply-To: <3E3A95F3.842C9691@nsd.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox