sed 批量替换多个文件里的某个字符/串

提示: 国际惯例使用前先备份

sed -i "s/a/b/g" `grep 'a' -rl ./`

原文地址:https://www.cnblogs.com/debmzhang/p/4279123.html