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

25
pages.zh/common/pt.md Normal file
View File

@@ -0,0 +1,25 @@
# pt
> 铂金搜索器。
> 一种类似于 `ag` 的代码搜索工具。
> 更多信息:<https://github.com/monochromegane/the_platinum_searcher>。
- 查找包含 "foo" 的文件并打印带有高亮匹配的文件:
`pt {{foo}}`
- 查找包含 "foo" 的文件并显示每个文件中匹配的数量:
`pt -c {{foo}}`
- 查找包含 "foo" 的整个单词并忽略其大小写:
`pt -wi {{foo}}`
- 使用正则表达式在具有特定扩展名的文件中查找 "foo"
`pt -G='{{\.bar$}}' {{foo}}`
- 查找其内容匹配正则表达式的文件,最多深入 2 个目录:
`pt --depth={{2}} -e '{{^ba[rz]*$}}'`