add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,18 +1,18 @@
# ack
> 类似 grep 的搜索工具,为程序员优化。
> 另见 `rg`它要快得多
> 更多信息:<https://beyondgrep.com/documentation>.
> 类似于 `grep` 的搜索工具,专为开发人员优化。
> 另见`rg`速度更快
> 更多信息:<https://beyondgrep.com/documentation>
- 在当前目录递归搜索包含一个字符串或正则表达式的文件:
- 在当前目录递归搜索包含字符串或正则表达式的文件:
`ack "{{search_pattern}}"`
- 不区分大小写搜索
- 搜索不区分大小写的模式
`ack --ignore-case "{{search_pattern}}"`
- 搜索匹配模式的行,打印匹配的文本而不打印行的其部分:
- 搜索匹配某个模式的行,打印匹配的文本而不打印行的其部分:
`ack -o "{{search_pattern}}"`
@@ -24,14 +24,14 @@
`ack --type no{{ruby}} "{{search_pattern}}"`
-找到的匹配文件的总数:
- 计找到的匹配总数:
`ack --count --no-filename "{{search_pattern}}"`
- 打印文件名和每个文件的匹配数:
- 打印文件名和每个文件的匹配数
`ack --count --files-with-matches "{{search_pattern}}"`
- 列出所有可与 `--type` 一起使用的值:
- 列出所有可`--type` 一起使用的值:
`ack --help-types`
`ack --help-types`