1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:02:09 +02:00

man: add simplified Chinese (zh) and traditional Chinese (zh_TW) translation (#15965)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
yingchao 2025-03-30 06:44:50 +08:00 committed by GitHub
parent acda299f16
commit e47b4805ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 72 additions and 0 deletions

36
pages.zh/common/man.md Normal file
View file

@ -0,0 +1,36 @@
# man
> 展示手册分页 (manual page).
> 更多信息:<https://manned.org/man>.
- 展示一条命令的使用手册分页:
`man {{command}}`
- 在浏览器中打开一条命令的使用手册分页 (`BROWSER` 环境变量可以替换 `=browser_name`):
`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}`
- 从第七章节展示一条命令的使用手册分页:
`man {{7}} {{command}}`
- 列表展示一条命令的所有可用章节:
`man {{[-f|--whatis]}} {{command}}`
- 展示搜索手册分页的路径:
`man {{[-w|--path]}}`
- 展示使用手册分页的位置, 而不是手册分页本身:
`man {{[-w|--where]}} {{command}}`
- 使用特定的语言来展示使用手册分页:
`man {{[-L|--locale]}} {{locale}} {{command}}`
- 搜索包含搜索字符串的手册页:
`man {{[-k|--apropos]}} "{{search_string}}"`

36
pages.zh_TW/common/man.md Normal file
View file

@ -0,0 +1,36 @@
# man
> 展示手冊分頁 (manual page).
> 更多資訊:<https://manned.org/man>.
- 展示一條指令的使用手冊分頁:
`man {{command}}`
- 在瀏覽器中開啟一條指令的使用手冊分頁 (`BROWSER` 環境變數可以取代 `=browser_name`):
`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}`
- 從第七章節展示一條指令的使用手冊分頁:
`man {{7}} {{command}}`
- 清單展示一條指令的所有可用章節:
`man {{[-f|--whatis]}} {{command}}`
- 展示搜尋手冊分頁的路徑:
`man {{[-w|--path]}}`
- 展示使用手冊分頁的位置, 而非手冊分頁本身:
`man {{[-w|--where]}} {{command}}`
- 使用特定的語言來展示使用手冊分頁:
`man {{[-L|--locale]}} {{locale}} {{command}}`
- 搜尋包含搜尋字串的手冊頁:
`man {{[-k|--apropos]}} "{{search_string}}"`