in reply to Re^5: How can I print three lines before pattern match?
in thread How can I print three lines before pattern match?
Probably not the best way
Indeed. You perform the regex match twice for nothing. The two previously submitted solutions are better. -- for asking for help then ignoring the answers twice.
|
|---|