For example if this the the content of file.txt:
The data wanted is:
After a bit of head scratching I came up with this not elegant solution:
But the output was a bit clumpsy and it's more of a 2 commands chain and not exactly a one liner.. So, after searching for a solution I came up to this gem:
You can use the following syntax to make awk print from one string to another, thus ommiting the first line (just change beginning & end strings):
# awk '/Beginning/,/End/'
When used correctly awk can be your swiss army knife.