in reply to How can I print three lines before pattern match?
Otherwise grep will do it:
grep -B3 pattern logfile
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How can I print three lines before pattern match?
by neurotoxx (Novice) on Aug 14, 2009 at 20:42 UTC |