linux sed使用

替换文件中的字符:  sed -e 's/old/new/g' 1.txt >2.txt

posted @ 2017-10-11 10:56  悟法悟天  阅读(105)  评论(0)    收藏  举报