lua-users home
lua-l archive

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

On 4/11/08, Shmuel Zeigerman <> 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? I don't think these
functions make any sense for binary files.