in reply to Re: How to print the lines immediately above and below a matching line?
in thread How to print the lines immediately above and below a matching line?
Yes...
Karls-Mac-mini:Desktop karl$ grep -C1 4003 MyData.txt 4002_1#2 4003_1#3 4004_1#4
...but do you really want to qx this on a 4 GByte file? Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How to print the lines immediately above and below a matching line?
by afoken (Chancellor) on Nov 26, 2012 at 19:16 UTC | |
by karlgoethebier (Abbot) on Nov 27, 2012 at 18:34 UTC |
In Section
Seekers of Perl Wisdom