doc: fix typo in ack.md (#565)

This commit is contained in:
Cui Yang 2024-03-04 15:03:02 +08:00 committed by GitHub
parent 79c5ad5dc7
commit 02e3ae8ef1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ apk install ack
## 参数
这些参数在linux上的用频率是相当高的尤其是你用vim做为IDE的话
这些参数在linux上的使用频率是相当高的尤其是你用vim做为IDE的话
```shell
-c(统计)/ -i(忽略大小)/ -h(不显示名称)/
@ -90,9 +90,9 @@ ack-grep -g hello.py$ # 查找正则匹配文件
ack-grep -g hello --sort-files # 查找然后排序
```
### File Inclusion/Exclusion
### File inclusion/exclusion
文件过滤,个人觉得这是一个很不错的功能。如果你曾经在搜索项目源码不小心命中日志中的某个关键字的话,你会觉得这个有用。
文件过滤,个人觉得这是一个很不错的功能。如果你曾经在搜索项目源码不小心命中日志中的某个关键字的话,你会觉得这个有用。
```shell
ack-grep --python hello # 查找所有python文件