should be# Discard the buffered lines. @buffer = (); # Print the matched line. print $line;
# Discard the buffered lines. @buffer = $line;
In reply to Re^2: Delete 10 lines before matched line
by ikegami
in thread Delete 10 lines before matched line
by briggs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |