My input is like this:
start
content A
end
garbage
start
content B
end
I want to extract the second (or first, or third ...) start .. end
block. With
sed -ne '/start/,/end/p'
I can filter out the garbage, but how do I get just "start content B end"?