lua-users home
lua-l archive

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


On May 4, 2013, at 11:55 PM, Coda Highland <chighland@gmail.com> wrote:

> The problem with that, little bee, is that it stops reading on EOF,
> not EOL, which was the request.

Not a problem. Rather an opportunity to read a file in controlled chunks length, which is the crux of the issue, and simply recompose the lines by oneself. So… instead of complicating the read() API with obscure notations, just turn the problem around.