ARTS-S sed指定行添加

sed -i 's#^AAAA.*#&BBBB#g' a.txt

在以AAA开始的行懂添加BBBB

posted on 2019-03-07 23:19  荷楠仁  阅读(112)  评论(0编辑  收藏  举报

导航