[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- 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 <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.