|
Markus Huber wrote:
It seems to be impossible to detect if read('line*') stopped on annewline 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