How can I display file content from some multi-line pattern to the end including the pattern itself?
I asked a similar question just now but it's different and I thought I should post this as a separate, new question. So please don't mark this duplicate simply because of that!
For example, if I had a text file like this:
cat dog fox cow dove bird bunny gnu hen dove bird buffalo
and if my pattern was this:
dove bird bunny
what I'd like to get would be:
dove bird bunny gnu hen dove bird buffalo
My real file is huge so if there are multiple ways to achieve this, I'd prefer faster ways.