Re: read('*line')
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: read('*line')
- From: Adrian Sietsma <adrian_groups@...>
- Date: 2004年7月20日 16:08:35 -0700
Markus Huber wrote:
It seems to be impossible to detect if read('line*') stopped on an
newline or fileend.
...
Ok I can program also an read(buffersize) _without *line_ and then
process this buffer in lines using gsub. But I feel very uncomfortable
becaus the end can be found in buffer, not found in buffer or
truncated due buffering... :-(
also consider "abc\f", "abc\n\f"
looks like a job for filters....
Adrian