摘要: https://www.cnblogs.com/sisier/p/4453523.html cat a.txt | sed '/group\|into\|sss/d' #删除文件a.txt中带有字符串group或者into或者sss的行,“或”运算符需要转义 Linux sed之正则表达式 http 阅读全文
posted @ 2021-08-20 11:16 e_shannon 阅读(12329) 评论(0) 推荐(0) 编辑
摘要: info sed,可以看到更多 https://www.onitroad.com/jc/misc/insert-character-in-the-beginning-or-end-of-line-with-matched-pattern-in-sed.html shannon:这个网站好像不错 se 阅读全文
posted @ 2021-08-20 09:47 e_shannon 阅读(4483) 评论(0) 推荐(1) 编辑