"...catch consecutive lines...?
and
Correct but fundamentally....
Interesting proposition which points up a (possible) ambiguity or shortcoming in the original problem statement: What should be done when a second consecutive matching line exists?
Update: Fixed punct at the end of the first li from "?" to ")"
while LOL at kennethk's reply
In reply to Re^3: how to next line after the pattern in perl
by ww
in thread how to next line after the pattern in perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |