📜  vi 替换模式 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.997000             🧑  作者: Mango

代码示例1
# Replace all matching patterns
:s%/PatternToReplace/Replacement

# Replace one matching pattern at a time
:s/PatternToReplace/Replacement