In reply to Re^2: How to print the lines immediately above and below a matching line? by Anonymous Monk in thread How to print the lines immediately above and below a matching line? by Bio90