sed: remove between delimeters IF a string is present between them

后端 未结 0 1464
南笙
南笙 2021-01-26 01:23

Right now I have a multiline string matching this format:

---
some text
more text
MATCH: FIRST
more text
---
some text
more text
---
some text
MATCH: SECOND
more          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题