lua-users home
lua-l archive

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


Hi all,
 
I’ve been trying to ‘print’ Unix style under Windows (only LF, no CR).  But, no matter what I do it does not work.
 
I’ve tried:
 
io.write(‘\n’)
io.write(‘\010’)
 
It seems that \n always gets converted to CR,LF pair just before output.
 
(Is Lua doing the translation because of Windows binary?)
 
Any ideas how to output LF’s only under Windows?
 
Thanks.