|
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
|
|
483.
|
|
|
Execute a simple command or display information about commands.
Runs COMMAND with ARGS suppressing shell function lookup, or display
information about the specified COMMANDs. Can be used to invoke commands
on disk when a function with the same name exists.
Options:
-p [tab] use a default value for PATH that is guaranteed to find all of
[tab] the standard utilities
-v [tab] print a description of COMMAND similar to the `type' builtin
-V [tab] print a more verbose description of each COMMAND
Exit Status:
Returns exit status of COMMAND, or failure if COMMAND is not found.
|
|
|
[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:460
|
|
484.
|
|
|
Set variable values and attributes.
Declare variables and give them attributes. If no NAMEs are given,
display the attributes and values of all variables.
Options:
-f [tab] restrict action or display to function names and definitions
-F [tab] restrict display to function names only (plus line number and
[tab] source file when debugging)
-g [tab] create global variables when used in a shell function; otherwise
[tab] ignored
-p [tab] display the attributes and value of each NAME
Options which set attributes:
-a [tab] to make NAMEs indexed arrays (if supported)
-A [tab] to make NAMEs associative arrays (if supported)
-i [tab] to make NAMEs have the `integer' attribute
-l [tab] to convert NAMEs to lower case on assignment
-r [tab] to make NAMEs readonly
-t [tab] to make NAMEs have the `trace' attribute
-u [tab] to convert NAMEs to upper case on assignment
-x [tab] to make NAMEs export
Using `+' instead of `-' turns off the given attribute.
Variables with the integer attribute have arithmetic evaluation (see
the `let' command) performed when the variable is assigned a value.
When used in a function, `declare' makes NAMEs local, as with the `local'
command. The `-g' option suppresses this behavior.
Exit Status:
Returns success unless an invalid option is supplied 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:479
|
|
485.
|
|
|
Set variable values and attributes.
Obsolete. See `help declare'.
|
|
|
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:517
|
|
486.
|
|
|
Define local variables.
Create a local variable called NAME, and give it VALUE. OPTION can
be any option accepted by `declare'.
Local variables can only be used within a function; they are visible
only to the function where they are defined and its children.
Exit Status:
Returns success unless an invalid option is supplied, an error occurs,
or the shell is not executing a function.
|
|
|
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:525
|