If there's a newline (and you're not in the middle of throwing away a superline), print everything up to the newline,... and repeat --- could have a string like "foo\nbar\nstuff\nblah blah blah blah blah" ... (see Limbic~Region's detailed post below)
In reply to Re^2: Reading files, skipping very long lines...
by davidrw
in thread Reading files, skipping very long lines...
by Excalibor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |