Extending FileList with CrLf

Lex Spoon lex at cc.gatech.edu
Sat Jul 26 03:48:58 UTC 2003


Daniel Vainsencher <danielv at netvision.net.il> wrote:
> Just to ask for some more information, does anyone know how low level
> text reading C libraries handle line endings in a file that do not agree
> with the platform convention/currently used convention? Does anyone know
> what Rebol does with text ending in the middle of a file that do not
> agree with the autodetected convention? 

This depends on the OS, by the way.  On Linux, there is no difference. 
On MS-DOS, and I'd guess newer MS systems, you get translation between
CRLF and LF if your file is in text mode.


Lex



More information about the Squeak-dev mailing list