lua-users home
lua-l archive

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


On Feb 22, 2014 2:40 PM, "Tim Hill" <drtimhill@gmail.com> wrote:
>
> — io:lines() can only work reliably on well-formed text files.
> — io:lines() gives no indication when it encounters a malformed text file.

On a side note, this is surprisingly consistent with the # operator, but let us not start it all over again.

My summary of the thread is: if something so fundamental (and supposedly simple?) as reading a file line by line is so complex, I'm astounded by the fact that computer systems work at all. =D