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.
In reply to Re^5: Reading files, skipping very long lines...
by Roy Johnson
in thread Reading files, skipping very long lines...
by Excalibor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |