BASH: Grepping/sedding/etc out part of a file... (from one word to 'blank' line)
I have a file that lists data about a system. It has a part that can look like:
the errors I'm looking for with other errors: Code:
Alerts Code:
Alerts Code:
I have code for it, but it's getting messier and messier, and I'm sure you guys help me out with something WAY more elegant. Thanks, Eric |
Quote:
|
here's what I have
So, this is what I've got so far...
Code:
awk '/^Alerts/,/^Other Info/' myfile >myfile1 |
All times are GMT -5. The time now is 04:59 PM. |