in reply to Re^3: How can I print three lines before pattern match?
in thread How can I print three lines before pattern match?
Thank you very much for your help.
I'm sorry to bother, but how can I add the existing matched line with the three lines?
++, but that should be my @history = ('') x 3;
++, but that should be my @history = ('') x 3 + $.; #???
Thank you agian.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How can I print three lines before pattern match?
by ikegami (Patriarch) on Aug 17, 2009 at 02:23 UTC | |
|
Re^5: How can I print three lines before pattern match?
by neurotoxx (Novice) on Aug 17, 2009 at 16:43 UTC | |
by ikegami (Patriarch) on Aug 17, 2009 at 17:12 UTC |