in reply to Re^6: Reading files, skipping very long lines...
in thread Reading files, skipping very long lines...

But we are not reading the lines, we are just seeking to the EOF.

It may be the same thing. The OP wanted to "wait for the next line", which suggests that the lines come in one at a time, and with some delay between them.


Caution: Contents may have been coded under pressure.
  • Comment on Re^7: Reading files, skipping very long lines...