07 2021 档案

摘要:测试的目录结构如下: . ├── 1.txt ├── 2.txt ├── a │ ├── 3.txt │ ├── d │ └── e ├── b │ ├── 4.txt │ ├── 7.txt │ ├── f │ │ └── 5.txt │ └── h └── c └── 5.txt 7 direc 阅读全文
posted @ 2021-07-23 11:50 无左无右 阅读(63) 评论(0) 推荐(0) 编辑
摘要:简单替换表达式 :[range]s/from/to/[flags] range:搜索范围,如果没有指定范围,则作用于当前行。 :1,10s/from/to/ 表示在第1到第10行(包含第1,第10行)之间搜索替换; :10s/from/to/ 表示只在第10行搜索替换; :%s/from/to/ 表 阅读全文
posted @ 2021-07-14 20:21 无左无右 阅读(131) 评论(0) 推荐(0) 编辑