-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoconf, pr: add Chinese translation #15106
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,16 @@ | ||||||
# 自动配置 | ||||||
|
||||||
> 生成配置脚本,自动配置软件源码包。 | ||||||
> 更多信息:<https://www.gnu.org/software/autoconf>。 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using Latin period is a mandatory rule for more info link. See: https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/more-info-link.md#zh
Suggested change
|
||||||
|
||||||
- 从 `configure.ac`(如果存在)或 `configure.in` 生成配置脚本,并将此脚本保存到 `configure`: | ||||||
|
||||||
`autoconf` | ||||||
|
||||||
- 从指定模板生成配置脚本;输出到 `stdout`: | ||||||
|
||||||
`autoconf {{模板文件}}` | ||||||
|
||||||
- 从指定模板生成配置脚本(即使输入文件未更改)并将输出写入文件: | ||||||
|
||||||
`autoconf --force --output {{输入文件}} {{模板文件}}` |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,28 @@ | ||||||
# pr | ||||||
|
||||||
> 对文件进行分页或分栏以便打印。 | ||||||
> 更多信息:<https://www.gnu.org/software/coreutils/pr>。 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- 使用默认页眉和页脚打印多个文件: | ||||||
|
||||||
`pr {{路径/到/文件1 路径/到/文件2 ...}}` | ||||||
|
||||||
- 使用自定义居中标题打印: | ||||||
`pr -h "{{header}}" {{path/to/file1 path/to/file2 ...}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- 使用编号行和自定义日期格式打印: | ||||||
|
||||||
`pr -n -D "{{format}}" {{path/to/file1 path/to/file2 ...}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- 一起打印所有文件,每列一个,不带页眉或页脚: | ||||||
|
||||||
`pr -m -T {{路径/到/文件1 路径/到/文件2 ...}}` | ||||||
|
||||||
- 打印,从第 2 页开始到第 5 页,具有给定的页面长度(包括页眉和页脚): | ||||||
|
||||||
`pr +2:5 -l {{page_length}} {{路径/到/文件1 路径/到/文件2 ...}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- 使用每行的偏移量和截断的自定义页面宽度进行打印: | ||||||
|
||||||
`pr -o {{offset}} -W {{width}} {{path/to/file1 path/to/file2 ...}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.