gzpk

sed删除行

删除文件中含有$word字符串的某些行(在文件中修改)

sed -i '/$word/d' file

posted on 2013-12-11 17:29  gzpk  阅读(284)  评论(0编辑  收藏  举报

导航