linux下如何批量替换多个文件中的某个字符串?

答: sed -i "s/<old_string>/<new_string>/g" `grep "<old_string>" -l <dir_or_wildcard_filename>html   例如:post     sed -i "s/jello/hello/g" `grep "jello" -l *.chtm 转载于:https://www.cnblogs.com/dakewei/p/11
相关文章
相关标签/搜索