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>
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>