You're replying to a comment by Stefan Stefanov.

Stefan Stefanov Permalink
August 10, 2012, 15:57

Thought it may be useful:

print section of a file between two regular expressions exclusive of the lines with the expressions:

awk 'NR==1,/Pattern1/{next}/Pattern2/,NR==0{next}{print}'

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "apple_122": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.