Wednesday, August 3, 2011

multiline grep

A very nice way to extract block of text knowing the first and the last line (from here):

awk '/Start pattern/,/End pattern/'

No comments:

Post a Comment