首页 > 技术文章 > linux sed 批量替换多个文件中的字符串
martinjinyu 2014-06-26 15:26 原文
sed -i "s/oldstring/newstring/g" `grep oldstring -rl yourdir`