in reply to Re: No tools? Use Perl?!
in thread No tools? Use Perl?!

Your while loop looks at one line at a time but your text says "synopsis (multi line)" ... D'oh!
So what is the problem? The tags he is matching do not contain a newline. The flip-flop maintains a state to govern the filter logic; there is no compelling reason to slurp the file.