使用perl命令批量替换文件内容

perl -pi -e "s/aaa/bbb/gi" test.txt

posted @ 2016-12-25 17:56  371502685  阅读(459)  评论(0编辑  收藏  举报