将所有的7.8.2替换成7.9 sed -i '' "s/7\.8\.2/7\.9/g" `grep "7\.8\.2" -rl '/Users/aaaaa/7.9'` 转载于:https://www.cnblogs.com/lishuai0214/p/4742585.html