Article 5C92T Remove a multi-line text from another text file

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:
the
quick
the
brown
quick
brown
fox
jumps
quick
brown
fox
And I need to remove the following lines (contained in a file)
Quote:
quick
brown
fox
And then the result will be:

Quote:
the
quick
the
brown
jumps
quick
brown
fox
latest?d=yIl2AUoC8zA latest?i=TqCSrXCclmg:QrrRbgx6JdI:F7zBnMy latest?i=TqCSrXCclmg:QrrRbgx6JdI:V_sGLiP latest?d=qj6IDK7rITs latest?i=TqCSrXCclmg:QrrRbgx6JdI:gIN9vFwTqCSrXCclmg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments