阅读背景:

如果先前的行匹配模式,则替换一行

来源:互联网 

I'd like to know how I could replace a line that contains a pattern but only if the prior line has another pattern using sed. I have a text file that contains the following: I'd like to know how I could replace a line tha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: