Remove a multi-line text from another text file
by joejobs from LinuxQuestions.org on (#5C92T)
I need to remove a multi-line text (contained in a file) from another text file but only the first occurrence
The text file looks like this:
Quote:
And I need to remove the following lines (contained in a file)
Quote:
And then the result will be:
Quote:


The text file looks like this:
Quote:
the quick the brown quick brown fox jumps quick brown fox |
Quote:
quick brown fox |
Quote:
the quick the brown jumps quick brown fox |