sed删除行

it2022-05-05  93

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

sed -i '/$word/d' file

转载于:https://www.cnblogs.com/ManMonth/p/3469793.html


最新回复(0)