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,24 +1,24 @@
# zipgrep
> 在 Zip 压缩档案中的文件中使用扩展正则表达式查找模式(支持 `?`、`+`、`{}`、`()` 和 `|`)。
> 更多信息:<https://manned.org/zipgrep>.
> 使用扩展正则表达式(支持 `?`、`+`、`{}`、`()` 和 `|`在 Zip 归档文件中查找模式
> 更多信息:<https://manned.org/zipgrep>
- 在 Zip 压缩档案中搜索一个模式:
- 在 Zip 归档文件中搜索模式:
`zipgrep "{{搜索模式}}" {{路径/到/文件.zip}}`
`zipgrep "{{search_pattern}}" {{path/to/file.zip}}`
- 打印匹配的文件名和行号:
- 对于每个匹配项打印文件名和行号:
`zipgrep -H -n "{{搜索模式}}" {{路径/到/文件.zip}}`
`zipgrep -H -n "{{search_pattern}}" {{path/to/file.zip}}`
- 搜索与模式不匹配的行:
- 搜索不匹配某个模式的行:
`zipgrep -v "{{搜索模式}}" {{路径/到/文件.zip}}`
`zipgrep -v "{{search_pattern}}" {{path/to/file.zip}}`
- 指定在 Zip 压缩档案中要搜索的文件:
- Zip 归档文件中指定要搜索的文件:
`zipgrep "{{搜索模式}}" {{路径/到/文件.zip}} {{要搜索的文件1}} {{要搜索的文件2}}`
`zipgrep "{{search_pattern}}" {{path/to/file.zip}} {{file/to/search1}} {{file/to/search2}}`
- 排除在 Zip 压缩档案中要搜索的文件:
- Zip 归档文件中排除搜索的文件:
`zipgrep "{{搜索模式}}" {{路径/到/文件.zip}} -x {{要排除的文件1}} {{要排除的文件2}}`
`zipgrep "{{search_pattern}}" {{path/to/file.zip}} -x {{file/to/exclude1}} {{file/to/exclude2}}`