awk print pattern match line and subsequent
Data looks like this:
blahblah
blahblah
pattern data data data
data data data
data data data
pattern data data data
data data data
...
blahblah
blahblah
What I would like to do is match on pattern, print that line and the subsequent data lines, then do not print 'blahblah' to EOF.
If someone can show me how to do this with awk, I would appreciate it!
|