in reply to Re^4: Reading files, skipping very long lines...
in thread Reading files, skipping very long lines...
But if there's a chance that another line will follow more quickly than your seek gets there, you could always read backwards $MAX bytes to see if there's a newline.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Reading files, skipping very long lines...
by rir (Vicar) on Sep 30, 2005 at 23:10 UTC | |
by Roy Johnson (Monsignor) on Oct 03, 2005 at 12:44 UTC |