Article 6K9YW sed help

sed help

by
Linux_Kidd
from LinuxQuestions.org on (#6K9YW)
I kinda suck with sed.

I need sed (gnu or other) expression to remove lines inclusive of a from pattern to an end pattern.
"marker1" and "marker2" are the text patterns.

from:
Code:<tag1>
<!-- marker1 -->
d
d
d
<!-- marker2 -->
</tag1>to:
Code:<tag1>
</tag1>
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