本文共 69 字,大约阅读时间需要 1 分钟。
删除包含特定字符的行:
命令行模式下:
g/pattern/d
删除不包含指定字符的行:
v/pattern/d
g!/pattern/d
转载地址:http://hygm.baihongyu.com/