Enviado em 27/07/2020 - 21:15h
Olá boa noite, estou com um problema em relação ao sed, ele está apagando todas as linhas </ul> mesmo eu delimitando
<!-- SECTION ID:TEST-1 -->
<li class="test-1"><h3>test-1</h3>
<ul class="test-1">
<li><article><a href="link" title="link">test...1 | <time datetime="???">0000/00/00</time></a></article></li>
</ul>
</li>
<!-- FINAL SECTION ID:TEST-1 -->
<!-- SECTION ID:TEST-2 -->
<li class="test-2"><h3>test-2</h3>
<ul class="test-2">
<li><article><a href="link" title="link">teste...2 | <time datetime="???">0000/00/00</time></a></article></li>
</ul>
</li>
<!-- FINAL SECTION ID:TEST-2 -->
</ul>
</section>
<!-- SECTION ID:TEST-1 -->
<li class="test-1"><h3>test-1</h3>
<ul class="test-1">
<li><article><a href="link" title="link">test...1 | <time datetime="???">0000/00/00</time></a></article></li>
</ul>
</li>
<!-- FINAL SECTION ID:TEST-1 -->
<!-- SECTION ID:TEST-2 -->
<li class="test-2"><h3>test-2</h3>
<ul class="test-2">
<li><article><a href="link" title="link">teste...2 | <time datetime="???">0000/00/00</time></a></article></li>
</ul>
</section>