sed

# 批量替换文件字符
 sed -i "s/oldstr/newstr/g" `grep oldstr -rl /findpath`

 

posted @ 2023-02-28 18:46  cidgur  阅读(9)  评论(0编辑  收藏  举报