in reply to Re^4: How can I print three lines before pattern match?in thread How can I print three lines before pattern match?