lua-users home
lua-l archive

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


Robert Raschke wrote:
On 4/11/08, Shmuel Zeigerman <shmuz@actcom.co.il> wrote:
When reading lines from a binary file, functions io.lines(...)
and file:read("*l") can read multiple lines at once and produce
strings that are not contained in the file.

Maybe the documentation needs to state that lines(), read("*n"), and
read("*l") work on text files, not binary?

And then only for text files that use the current platform's line
ending convention.

Best wishes,
Taco