|
473.
|
|
|
Set Readline key bindings and variables.
Bind a key sequence to a Readline function or a macro, or set a
Readline variable. The non-option argument syntax is equivalent to
that found in ~/.inputrc, but must be passed as a single argument:
e.g., bind '"\C-x\C-r": re-read-init-file'.
Options:
-m keymap Use KEYMAP as the keymap for the duration of this
command. Acceptable keymap names are emacs,
emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move,
vi-command, and vi-insert.
-l List names of functions.
-P List function names and bindings.
-p List functions and bindings in a form that can be
reused as input.
-S List key sequences that invoke macros and their values
-s List key sequences that invoke macros and their values
in a form that can be reused as input.
-V List variable names and values
-v List variable names and values in a form that can
be reused as input.
-q function-name Query about which keys invoke the named function.
-u function-name Unbind all keys which are bound to the named function.
-r keyseq Remove the binding for KEYSEQ.
-f filename Read key bindings from FILENAME.
-x keyseq:shell-command [tab] Cause SHELL-COMMAND to be executed when
[tab] [tab] [tab] [tab] KEYSEQ is entered.
Exit Status:
bind returns 0 unless an unrecognized option is given or an error occurs.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:289
|
|
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.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Прерывание цикла for, while или until.
Прерывает цикл for, while или until. Если указано N, прерывает N вложенных
циклов.
Состояние выхода:
Возвращает 0, если N не больше или равно 1.
|
|
Translated by
Pavel Maryanov
|
|
|
|
Located in
builtins.c:330
|
|
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.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Возобновление цикла for, while или until.
Возобновляет следующую итерацию вложенного цикла for, while или until.
Если указано N, возобновляет N-й вложенный цикл.
Состояние выхода:
Возвращает 0, если N не больше или равно 1.
|
|
Translated by
Pavel Maryanov
|
|
|
|
Located in
builtins.c:342
|
|
476.
|
|
|
Execute shell builtins.
Execute SHELL-BUILTIN with arguments ARGs without performing command
lookup. This is useful when you wish to reimplement a shell builtin
as a shell function, but need to execute the builtin within the function.
Exit Status:
Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is
not a shell builtin..
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Выполнение встроенных команд.
Выполняет встроенную команду bash с аргументами
без поиска команды. Это полезно, если нужно переопределить встроенную команду
как функцию командного процессора, в этой функции нужно выполнить встроенную команду.
Состояние выхода:
Возвращает состояние выхода встроенной команды или ложь, если указанная команда bash
не является встроенной.
|
|
Translated by
Pavel Maryanov
|
|
|
|
Located in
builtins.c:354
|
|
477.
|
|
|
Return the context of the current subroutine call.
Without EXPR, returns "$line $filename". With EXPR, returns
"$line $subroutine $filename"; this extra information can be used to
provide a stack trace.
The value of EXPR indicates how many call frames to go back before the
current one; the top frame is frame 0.
Exit Status:
Returns 0 unless the shell is not executing a shell function or EXPR
is invalid.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Возвращает контекст вызова текущей подпрограммы.
Если выражение не указано, возвращает «$line $filename». Если выражение указано, возвращает
«$line $subroutine $filename». Эти дополнительные данные можно
использовать для трассировки стека.
Значение выражения означает количество кадров, которое нужно вызвать
для возврата к текущему кадру. Первый кадр имеет номер 0.
Состояние выхода:
Возвращает 0, если командный процессор не выполняет функцию, или выражение
является допустимым.
|
|
Translated by
Pavel Maryanov
|
|
|
|
Located in
builtins.c:369
|
|
478.
|
|
|
Change the shell working directory.
Change the current directory to DIR. The default DIR is the value of the
HOME shell variable.
The variable CDPATH defines the search path for the directory containing
DIR. Alternative directory names in CDPATH are separated by a colon (:).
A null directory name is the same as the current directory. If DIR begins
with a slash (/), then CDPATH is not used.
If the directory is not found, and the shell option `cdable_vars' is set,
the word is assumed to be a variable name. If that variable has a value,
its value is used for DIR.
Options:
-L [tab] force symbolic links to be followed
-P [tab] use the physical directory structure without following symbolic
[tab] links
-e [tab] if the -P option is supplied, and the current working directory
[tab] cannot be determined successfully, exit with a non-zero status
The default is to follow symbolic links, as if `-L' were specified.
Exit Status:
Returns 0 if the directory is changed, and if $PWD is set successfully when
-P is used; non-zero otherwise.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:383
|
|
479.
|
|
|
Print the name of the current working directory.
Options:
-L [tab] print the value of $PWD if it names the current working
[tab] directory
-P [tab] print the physical directory, without any symbolic links
By default, `pwd' behaves as if `-L' were specified.
Exit Status:
Returns 0 unless an invalid option is given or the current directory
cannot be read.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Показать имя текущего каталога.
Параметры:
-L [tab] показать значение $PWD, если это текущий
[tab] каталог
-P [tab] показать физический каталог, без символьных ссылок
По умолчанию, `pwd' ведет себя как при заданном параметре `-L'.
Статус завершения:
Возвращает 0, если только не указан недопустимый параметр или текущий каталог
может быть просмотрен.
|
|
Translated by
☠Jay ZDLin☠
|
|
Reviewed by
Nicholas Guriev
|
|
|
|
Located in
builtins.c:414
|
|
480.
|
|
|
Null command.
No effect; the command does nothing.
Exit Status:
Always succeeds.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Пустая команда.
Команда не выполняет никаких действий и ни на что не влияет.
Состояние выхода:
Всегда возвращает успех.
|
|
Translated by
Pavel Maryanov
|
|
|
|
Located in
builtins.c:442
|
|
481.
|
|
|
Return a successful result.
Exit Status:
Always succeeds.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Возвращает результат успешного выполнения.
Состояние выхода:
Всегда возвращает успех.
|
|
Translated by
Pavel Maryanov
|
|
|
|
Located in
builtins.c:453
|
|
482.
|
|
|
Return an unsuccessful result.
Exit Status:
Always fails.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Возвращает результат неудачного выполнения.
Состояние выхода:
Всегда возвращает ошибку.
|
|
Translated by
Pavel Maryanov
|
|
|
|
Located in
builtins.c:462
|