2025-01-02 10:46:09 +08:00

6 lines
188 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

sed从文件或者管道符里读取一行处理一行
-r使用拓展正则表达式
-i保存到文件中
s/要被替换的值/最中通过值/修饰符
g行内全局替换