Unix import of a DOS spreadsheet...

Richard Kreiss rkreiss at verizon.net
Tue Sep 7 19:34:48 PDT 2010


Mark,

\n = ASCII 10 or NL(new Line for Unix)

\n= ASCII 13/10 (CR\NL carriage return\New line) for Windows

Therefore \R\n on a Unix box looks for a new line for the record end.

On a Windows box \R\n import looks for a carriage return and a new line
CR\NL

This eliminates the byte problem on a windows box using import \r.

Richard

> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of Fairlight
> Sent: Tuesday, September 07, 2010 10:24 PM
> To: filepro-list at lists.celestial.com
> Subject: Re: Unix import of a DOS spreadsheet...
> 
> Yo, homey, in case you don' be listenin', Richard Kreiss done said:
> >
> > What Stuart had was \r=\n and indicated that  \n for Unix  was  ASCII
> > 10  NL for windows was 13/10 CR/NL
> >
> > So, using \r=\n	would be like using \r13/10 by using the \n still
within
> the
> > byte limit.
> 
> Can I just be the first (and probably the last) to say, "WTF?!"
> 
> I honestly can't tell what you're on about, as the above doesn't parse in
code
> -or- in English--at least not for me.
> 
> mark->
> --
> Audio panton, cogito singularis.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list




More information about the Filepro-list mailing list