Remove lines after match

后端 未结 0 1938
不知归路
不知归路 2020-12-31 03:47

Say for example the input file in.txt looks like this:

I need to remove all lines after the line matching pattern "fox"

The quick
brown fox j         


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