-1
我是使用'sed'的新手。我有一个文件,其中有一些文字如下。如何找到多行模式并使用sed添加新行
this is a test1
length 12
width 12
this is test2
length 50
width 50
我不知道多行sed命令是怎么样的。我想我的输出为
this is a test1
length 12
//width 12
new width 40
this is test2
length 50
width 50