lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


RLake wrote:

> If you have a system where <cr> is the end of line
> character (such as Mac OS <10), then the C compiler
> defines \n as <cr> and \r as <lf>.

Interesting.  So when the Lua interpreter on Mac OS 9 reads
a DOS text file, it sees \n\r at the end of lines?  If so,
then I see the sense in reading <X><LF><CR><LF><CR><X> as
two EOLs.

-- 
Aaron