I have a command that outputs a bunch of data, but I only want two lines. Grep doesn't work because the lines I want are not next to one another. I can't seem to figure out sed...
Help please. :)
Example output:
Schedule:
blabla:
blabla:
blabla:
blabla:
blabla:
blabla:
Something Level:
blabla:
blabla:
blabla:
I want these lines:
Schedule:
Something Level:
This output repeats through the different servers, and the output isn't the same. So I need to search for a pattern of two things over and over.