gzpk

sed删除行

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

sed -i '/$word/d' file

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

导航