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:catdogfoxcowdovebirdbunnygnuhendovebirdbuffaloand if my pattern was this:dovebirdbunnywhat I'd like to get would be:dovebirdbunnygnuhendovebirdbuffaloMy real file is huge so if there are multiple ways to achieve this, I'd prefer faster ways.
display file content from some muti-line pattern to the end
text processing