lua-users home
lua-l archive

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


On Sun, Apr 15, 2012 at 2:45 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>  io.write(table.concat(lines,'\n'))

This will do the Correct Thing, since io.stdout is opened in 'text'
mode - i.e. does the \n -> \r\n translation automaticaly.

steve d.