[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Function read_line in liolib.c
- From: "Robert Raschke" <rtrlists@...>
- Date: Fri, 11 Apr 2008 16:52:21 +0100
On 4/11/08, Shmuel Zeigerman <firstname.lastname@example.org> 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.