打印指定行
sed -n ‘2,6p’ test.file
删除指定行
sed -i ‘3,5d’ test.file
删除匹配行
sed ‘/$#print/d’ t.py
赏
使用支付宝打赏
使用微信打赏
若你觉得我的文章对你有帮助,欢迎点击上方按钮对我打赏
扫描二维码,分享此文章