Translations by Mingye Wang

Mingye Wang has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

126 of 26 results
20.
only meaningful in a `for', `while', or `until' loop
2017-02-17
仅在 `for', `while', 或者`until' 循环中有意义
58.
not currently executing completion function
2017-02-17
当前未执行补全功能
112.
missing hex digit for \x
2017-02-17
使用了 \x 但缺少十六进制位
141.
%s is hashed (%s)
2017-02-17
%s 已被录入哈希表 (%s)
171.
division by 0
2017-02-17
除以 0
180.
invalid arithmetic base
2017-02-17
无效的算术进制
181.
value too great for base
2017-02-17
数值太大不可为算术进制的基
188.
forked pid %d appears in running job %d
2017-02-17
叉分 (fork) 出的的进程号 %d 出现在运行中的任务 %d 中
244.
syntax error: arithmetic expression required
2017-02-17
语法错误: 需要算术表达式
271.
completion: function `%s' not found
2017-02-17
补全: 未找到函数 `%s'
272.
progcomp_insert: %s: NULL COMPSPEC
2017-02-17
progcomp_insert: %s: 空的补全声明
292.
GNU long options:
2017-02-17
GNU 长选项:
295.
-%s or -o option
2017-02-17
-%s 或 -o <选项>
326.
Alarm (profile)
2017-02-17
报警(分析)
346.
cannot open named pipe %s for reading
2017-02-17
无法打开命名管道 %s 进readline-
351.
command_substitute: cannot duplicate pipe as fd 1
2017-02-17
command_substitute: 无法将管道复制为文件描述符 1
356.
future versions of the shell will force evaluation as an arithmetic substitution
2017-02-17
未来版本的 shell 会强制估值为算术替换
389.
%s: cannot allocate %lu bytes (%lu bytes allocated)
2017-02-17
%s: 无法分配 %lu 字节 (已分配 %lu 字节)
391.
%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)
2017-02-17
%s: %s:%d: 无法分配 %lu 字节 (已分配 %lu 字节)
474.
Exit for, while, or until loops. Exit a FOR, WHILE or UNTIL loop. If N is specified, break N enclosing loops. Exit Status: The exit status is 0 unless N is not greater than or equal to 1.
2017-02-17
退出 for、while 或 until 循环 退出一个 FOR、WHILE 或 UNTIL 循环。如果指定了N,则跳出N重 循环 退出状态: 退出状态为0除非 N 不大于或等于 1。
475.
Resume for, while, or until loops. Resumes the next iteration of the enclosing FOR, WHILE or UNTIL loop. If N is specified, resumes the Nth enclosing loop. Exit Status: The exit status is 0 unless N is not greater than or equal to 1.
2017-02-17
继续 for、while 或 until 循环。 继续当前 FOR、WHILE 或 UNTIL 循环的下一步。 如果指定了 N, 则继续当前的第 N 重循环。 退出状态: 退出状态为 0 除非 N 不大于或等于1。
504.
Evaluate arithmetic expressions. Evaluate each ARG as an arithmetic expression. Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The following list of operators is grouped into levels of equal-precedence operators. The levels are listed in order of decreasing precedence. id++, id-- variable post-increment, post-decrement ++id, --id variable pre-increment, pre-decrement -, + unary minus, plus !, ~ logical and bitwise negation ** exponentiation *, /, % multiplication, division, remainder +, - addition, subtraction <<, >> left and right bitwise shifts <=, >=, <, > comparison ==, != equality, inequality & bitwise AND ^ bitwise XOR | bitwise OR && logical AND || logical OR expr ? expr : expr conditional operator =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= assignment Shell variables are allowed as operands. The name of the variable is replaced by its value (coerced to a fixed-width integer) within an expression. The variable need not have its integer attribute turned on to be used in an expression. Operators are evaluated in order of precedence. Sub-expressions in parentheses are evaluated first and may override the precedence rules above. Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise.
2017-02-17
估值算术表达式。 将每个 ARG 参赛作为算术表达式来估值。估值的计算以定宽的整 数完成,不带溢出检测,不过除 0 是被置陷阱的并且会报一个错 误。下列操作符被按照相同的算术优先级组合。列表的顺序按照 优先级从高至低。 id++, id-- 变量后置加,后置减 ++id, --id 变量前置加,前置减 -, + 一元减法,一元加法 !, ~ 逻辑和位取反 ** 指数 *, /, % 乘法,除法,取余数 +, - 增加,减少 <<, >> 向左和向右按位移位 <=, >=, <, > 比较 ==, != 等于,不等于 & 按位与 ^ 按位异或 | 按位或 && 逻辑与 || 逻辑或 expr ? expr : expr 条件操作符 =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= 赋值 Shell 变量允许作为操作数。表达式中的变量的名称会被取代以值 (强制转换为定宽的整数)。表达式中的变量不需要打开整数属性。 操作符按照优先级进行估值。括号中的子表达式将被先估值,并可取代上述表达式规则。 退出状态: 如果最后一个 ARG 参数估值为 0,则 let 返回 1; 否则 let 返回 0。
517.
Trap signals and other events. Defines and activates handlers to be run when the shell receives signals or other conditions. ARG is a command to be read and executed when the shell receives the signal(s) SIGNAL_SPEC. If ARG is absent (and a single SIGNAL_SPEC is supplied) or `-', each specified signal is reset to its original value. If ARG is the null string each SIGNAL_SPEC is ignored by the shell and by the commands it invokes. If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. If a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. If a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or a script run by the . or source builtins finishes executing. A SIGNAL_SPEC of ERR means to execute ARG each time a command's failure would cause the shell to exit when the -e option is enabled. If no arguments are supplied, trap prints the list of commands associated with each signal. Options: -l print a list of signal names and their corresponding numbers -p display the trap commands associated with each SIGNAL_SPEC Each SIGNAL_SPEC is either a signal name in <signal.h> or a signal number. Signal names are case insensitive and the SIG prefix is optional. A signal may be sent to the shell with "kill -signal $$". Exit Status: Returns success unless a SIGSPEC is invalid or an invalid option is given.
2017-02-17
对信号和其他事件设陷阱。 定义一个处理器,在 shell 接收到信号和其他条件下执行。 ARG 参数是当 shell 接收到 SIGNAL_SPEC 信号时读取和执行的命令。 如果没有指定 ARG 参数 (并且只给出一个 SIGNAL_SPEC 信号) 或者 ARG 参数为 `-',每一个指定的参数会被重置为原始值。如果 ARG 参数是一个空串,则每一个 SIGNAL_SPEC 信号会被 shell 和它启动的命令忽略。 如果一个 SIGNAL_SPEC 信号是 EXIT (0) ,则 ARG 命令会在 shell 退出时被 执行。如果一个 SIGNAL_SPEC 信号是 DEBUG,则 ARG命令会在每一个简单命 令之前执行。 如果不提供参数,trap 打印列表显示每一个与每一个信号相关联的命令。 选项: -l 打印一个信号名称和它们对应的编号的列表 -p 打印与每个 SIGNAL_SPEC 信号相关联的陷阱命令 每一个 SIGNAL_SPEC 信号可以是 <signal.h> 中的信号名称或者信号编号。 信号名称大小写敏感且可以使用 SIG 前缀。信号可用 "kill -信号 $$" 发送给 shell。 退出状态: 返回成功,除非使用了无效的选项或者 SIGSPEC。
520.
Display or set file mode mask. Sets the user file-creation mask to MODE. If MODE is omitted, prints the current value of the mask. If MODE begins with a digit, it is interpreted as an octal number; otherwise it is a symbolic mode string like that accepted by chmod(1). Options: -p if MODE is omitted, output in a form that may be reused as input -S makes the output symbolic; otherwise an octal number is output Exit Status: Returns success unless MODE is invalid or an invalid option is given.
2017-02-17
显示或设定文件模式掩码。 设定用户文件创建掩码为 MODE 模式。如果省略了 MODE,则 打印当前掩码的值。 如果 MODE 模式以数字开头,则被当作八进制数解析;否则是一个 chmod(1) 可接收的符号模式串。 选项: -p 如果省略 MODE 模式,以可重用为输入的格式输入 -S 以符号形式输出,否则以八进制数格式输出 退出状态: 返回成功,除非使用了无效的 MODE 模式或者选项。
544.
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.
2017-02-17
依据选项显示可能的补全。 意图在能产生可能的补全的 shell 函数内部使用。 如果提供了可选的 WORD 参数,则产生按照 WORD 进行的匹配。 退出状态: 除非使用了无效选项或者错误发生,否则返回成功。
545.
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: -o option Set completion option OPTION for each NAME -D Change options for the "default" command completion -E Change options for the "empty" command completion 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.
2017-02-17
修改或显示补全选项。 修改每个 NAME 名称的补全选项,或如果没有提供 NAME 名称,执行当前的补全。 如果不带选项,打印每个 NAME 名称的补全选项或当前的补全声明。 选项: -o option 为每个 NAME 名称设定补全选项 option -D 为 "default" 命令补全改变选项 -E 为 "empty" 命令补全改变选项 使用 `+o' 而不是 `-o' 可以关闭指定的选项。 参数: 每个 NAME 名称都对应一个之前以通过 `complete' 内建定义了的补全声明的 命令。如果不提供 NAME 名称,当前生成补全的函数必须调用 compopt, 并且当前执行的补全生成器选项会被修改。 退出状态: 返回成功,除非使用了无效的选项或者 NAME 名称没有定义补全声明。