Want to clean everything after one start point till the end one
Example:
<!--
<group>
<name>Octopus</name>
<inventory>
<inventoryName>octopus</inventoryName>
<decoder>DFFDD</decoder>
<command>cat /etc/hosts</command>
</inventory>
</group>
-->
Where <!--
is the start point and -->
is the end point sometimes content is multiple lines to the end point.
Everything which is in those tags I want to be deleted.
I try to start some things with sed like:
sed 's/^<\!--//g'
but not sure how to continue after it to catch all and to be cleaned when saw the end tag.