阅读背景:

使用sed输出文件的指定行

来源:互联网 

sed ‘/pattern/!p’ infile //匹配pattern的行不输出
sed -n ‘1,2p’ infile //print line 1 to 2




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

分享到: