sed -ir修改源文件无效

sed -ir修改源文件,是不会生效的,应该写成sed -i -r

原文地址:https://www.cnblogs.com/FengGeBlog/p/12305444.html