修改grep命令中的偏移错别字 (#394)
This commit is contained in:
parent
5db620e1dd
commit
b6227d7635
|
|
@ -141,7 +141,7 @@ grep "text" -n file_1 file_2
|
||||||
```shell
|
```shell
|
||||||
echo gun is not unix | grep -b -o "not"
|
echo gun is not unix | grep -b -o "not"
|
||||||
7:not
|
7:not
|
||||||
#一行中字符串的字符便宜是从该行的第一个字符开始计算,起始值为0。选项 **-b -o** 一般总是配合使用。
|
#一行中字符串的字符偏移是从该行的第一个字符开始计算,起始值为0。选项 **-b -o** 一般总是配合使用。
|
||||||
```
|
```
|
||||||
|
|
||||||
搜索多个文件并查找匹配文本在哪些文件中:
|
搜索多个文件并查找匹配文本在哪些文件中:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue