Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Chinese (Simplified) guidelines.
591594 of 594 results
591.
Display possible completions depending on the options.

Intended to be used from within a shell function generating possible
completions. If the optional WORD argument is supplied, matches against
WORD are generated.

Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
依据选项显示可能的补全。

设计意图是在用来生成可能的补全的 shell 函数的内部使用。
如果提供了可选的 <词语> 参数,则依据 <词语> 产生匹配。

退出状态:
返回成功,除非使用了无效的选项,或者有错误发生。
Translated by Wenbin Lv
Located in builtins.c:2004
592.
Modify or display completion options.

Modify the completion options for each NAME, or, if no NAMEs are supplied,
the completion currently being executed. If no OPTIONs are given, print
the completion options for each NAME or the current completion specification.

Options:
[tab]-o option[tab]Set completion option OPTION for each NAME
[tab]-D[tab][tab]Change options for the "default" command completion
[tab]-E[tab][tab]Change options for the "empty" command completion
[tab]-I[tab][tab]Change options for completion on the initial word

Using `+o' instead of `-o' turns off the specified option.

Arguments:

Each NAME refers to a command for which a completion specification must
have previously been defined using the `complete' builtin. If no NAMEs
are supplied, compopt must be called by a function currently generating
completions, and the options for that currently-executing completion
generator are modified.

Exit Status:
Returns success unless an invalid option is supplied or NAME does not
have a completion specification defined.
[tab] represents a tab character. Please write it exactly the same way, [tab], in your translation.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
修改或显示补全选项。

修改每个 <名称> 的补全选项,或者如果没有提供 <名称>,修改正在执行的补全的
选项。如果没有提供 <选项>,打印每个 <名称> 的补全选项或者当前的补全规约。

选项:
[tab]-o 选项[tab][tab]为每个 <名称> 设定补全选项 <选项>
[tab]-D[tab][tab]修改 "默认" (default) 命令的补全选项
[tab]-E[tab][tab]修改 "空" (empty) 命令的补全选项
[tab]-I[tab][tab]修改首个单词的补全选项

使用 "+o" 代替 "-o" 可以关闭指定的选项。

参数:

每个 <名称> 都对应一个之前已通过 "complete" 内建定义了补全规约的命令。
如果没有提供 <名称>,compopt 必须由当前正在生成补全的函数进行调用,
并且当前正在执行的补全生成器的选项会被修改。

退出状态:
返回成功,除非使用了无效的选项,或者 <名称> 没有定义补全规约。
Translated by Wenbin Lv
Located in builtins.c:2019
593.
Read lines from the standard input into an indexed array variable.

Read lines from the standard input into the indexed array variable ARRAY, or
from file descriptor FD if the -u option is supplied. The variable MAPFILE
is the default ARRAY.

Options:
-d delim[tab]Use DELIM to terminate lines, instead of newline
-n count[tab]Copy at most COUNT lines. If COUNT is 0, all lines are copied
-O origin[tab]Begin assigning to ARRAY at index ORIGIN. The default index is 0
-s count[tab]Discard the first COUNT lines read
-t[tab]Remove a trailing DELIM from each line read (default newline)
-u fd[tab]Read lines from file descriptor FD instead of the standard input
-C callback[tab]Evaluate CALLBACK each time QUANTUM lines are read
-c quantum[tab]Specify the number of lines read between each call to
[tab][tab][tab]CALLBACK

Arguments:
ARRAY[tab]Array variable name to use for file data

If -C is supplied without -c, the default quantum is 5000. When
CALLBACK is evaluated, it is supplied the index of the next array
element to be assigned and the line to be assigned to that element
as additional arguments.

If not supplied with an explicit origin, mapfile will clear ARRAY before
assigning to it.

Exit Status:
Returns success unless an invalid option is given or ARRAY is readonly or
not an indexed array.
[tab] represents a tab character. Please write it exactly the same way, [tab], in your translation.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
从标准输入读取行到索引数组变量中。

从标准输入读取行到索引数组变量 <数组> 中,或者如果使用了 -u 选项,
从文件描述符 <FD> 中读取。默认的 <数组> 是 MAPFILE 变量。

选项:
-d 分隔符[tab]使用 <分隔符> 而非换行符标志一行的结束
-n 计数[tab]最多复制 <计数> 行。如果 <计数> 为 0,则复制所有行
-O 起始[tab]从索引 <起始> 开始赋值给 <数组> 变量。默认索引是 0
-s 计数[tab]丢弃最初读取的 <计数> 行
-t[tab]从读取的每行末尾删除一个 <分隔符>(默认为换行符)
-u fd[tab]从文件描述符 <FD> 中读取行,而不是标准输入
-C 回调[tab]每读取 <间隔> 行之后对 <回调> 进行求值
-c 间隔[tab]指定每次调用 <回调> 之前读取的行数

参数:
数组[tab]存储文件数据使用的数组变量名

如果使用了 -C 而没有 -c,默认的间隔是 5000。当对 <回调> 进行求值时,
下一个将被赋值的数组元素的索引以及将被赋给那个元素的行会作为额外参数
被传递给它。

如果没有显式指定起始索引,mapfile 会在赋值前清空 <数组>。

退出状态:
返回成功,除非使用了无效的选项,或者 <数组> 为只读或不是索引数组。
Translated by Wenbin Lv
Located in builtins.c:2050
594.
Read lines from a file into an array variable.

A synonym for `mapfile'.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
从一个文件中读取行到数组变量中。

同 "mapfile"。
Translated by Wenbin Lv
Located in builtins.c:2086
591594 of 594 results

This translation is managed by Ubuntu Simplified Chinese Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Alex Ye, Anthony Fok, Aron Xu, Bigfatsea, Boyuan Yang, Eric_Quan, Feng Chao, Gang ZHAO, Huang Zhen, LI Daobing, Lie Ex, Mingye Wang, SuperWangCC, WEI Kun, Wenbin Lv, Yulin Yang, Zhang Junbo, gmagogsfm, hh9527, wangzc2009, zhang xuecheng, zhangzichao.