Shell Cookbook

字符串替换

sed -i s/"str1"/"str2"/g `grep "str1" -rl --include="*.[ch]" ./`

你可能感兴趣的:(tools)