[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: file:read with a maximum line length
- From: Petite Abeille <petite.abeille@...>
- Date: Sun, 5 May 2013 00:01:41 +0200
On May 4, 2013, at 11:55 PM, Coda Highland <firstname.lastname@example.org> 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.