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

36
pages.zh/common/choose.md Normal file
View File

@@ -0,0 +1,36 @@
# choose
> 一个对人类友好且快速的替代工具,用于 cut 和有时的 awk。
> 更多信息: <https://github.com/theryangeary/choose>。
- 打印一行中的第5个项目从0开始
`choose {{4}}`
- 打印一行中的第一个、第3个和第5个项目其中项目由':'而不是空格分隔:
`choose --field-separator '{{:}}' {{0}} {{2}} {{4}}`
- 打印一行中从第2个到第5个项目包括第5个
`choose {{1}}:{{4}}`
- 打印一行中从第2个到第5个项目不包括第5个
`choose --exclusive {{1}}:{{4}}`
- 打印从行首到第3个项目
`choose :{{2}}`
- 打印从行首到第3个项目不包括
`choose --exclusive :{{2}}`
- 打印从第3个项目到行尾的所有项目
`choose {{2}}:`
- 打印一行中的最后一个项目:
`choose {{-1}}`