|
521.
|
|
|
Wait for job completion and return exit status.
Waits for the process identified by ID, which may be a process ID or a
job specification, and reports its termination status. If ID is not
given, waits for all currently active child processes, and the return
status is zero. If ID is a a job specification, waits for all processes
in the job's pipeline.
Exit Status:
Returns the status of ID; fails if ID is invalid or an invalid option is
given.
|
|
|
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.
|
|
|
|
Чекає завершення виконання завдання та повертає його код завершення.
Очікує завершення роботи процесу, вказаного за ІДЕНТИФІКАТОРОМ, що може
бути ідентифікатором процесу чи завдання, та повертає його код завершення.
Якщо ІДЕНТИФІКАТОР не вказано, очікує завершення усіх активних дочірніх
процесів та повертає код 0. Якщо ІДЕНТИФІКАТОР є завданням, очікує на
завершення усіх процесів у ланцюжку завдання.
Код завершення:
Команда повертає код завершення вказаного завдання; помилку, якщо вказано
неправильні параметри чи ІДЕНТИФІКАТОР.
|
|
Translated by
Maxim Dziumanenko
|
|
|
|
Located in
builtins.c:1464
|
|
522.
|
|
|
Wait for process completion and return exit status.
Waits for the specified process and reports its termination status. If
PID is not given, all currently active child processes are waited for,
and the return code is zero. PID must be a process ID.
Exit Status:
Returns the status of ID; fails if ID is invalid or an invalid option is
given.
|
|
|
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.
|
|
|
|
Очікує на завершення роботи процесу та повертає його код завершення.
Очікує поки завершиться вказаний процес та доповідає про його успішність.
Якщо ІДЕНТИФІКАТОР-ПРОЦЕСУ не вказаний, очікує завершення усіх дочірніх
процесів й завершується з кодом 0. ІДЕНТИФІКАТОР має бути ідентифікатором
процесу.
Код завершення:
Команда повертає код завершення вказаного процесу; помилку, якщо вказано
неправильний ІДЕНТИФІКАТОР чи параметр.
|
|
Translated by
Maxim Dziumanenko
|
|
|
|
Located in
builtins.c:1482
|
|
523.
|
|
|
Execute commands for each member in a list.
The `for' loop executes a sequence of commands for each member in a
list of items. If `in WORDS ...;' is not present, then `in "$@"' is
assumed. For each element in WORDS, NAME is set to that element, and
the COMMANDS are executed.
Exit Status:
Returns the status of the last command executed.
|
|
|
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' виконує послідовність команд для кожного елементу списку.
Якщо `in СЛОВА ...;' не вказано, тоді береться `in "$@"'. НАЗВА
послідовно встановлюється у кожне зі СЛІВ, потім виконуються КОМАНДИ.
Код завершення:
Команда повертає код завершення останньої виконаної команди.
|
|
Translated by
yurchor
|
|
|
|
Located in
builtins.c:1549
|
|
524.
|
|
|
Arithmetic for loop.
Equivalent to
[tab] (( EXP1 ))
[tab] while (( EXP2 )); do
[tab] [tab] COMMANDS
[tab] [tab] (( EXP3 ))
[tab] done
EXP1, EXP2, and EXP3 are arithmetic expressions. If any expression is
omitted, it behaves as if it evaluates to 1.
Exit Status:
Returns the status of the last command executed.
|
|
|
[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.
|
|
|
|
Арифметичний цикл.
Те ж саме, що й
[tab] (( ВИРАЗ1 ))
[tab] while (( ВИРАЗ2 )); do
[tab] [tab] КОМАНДИ
[tab] [tab] (( ВИРАЗ3 ))
[tab] done
ВИРАЗИ мають бути арифметичними виразами. Якщо будь-який з них не
вказаний, цикл поводиться, як ніби його результатом є 1.
Код завершення:
Команда повертає код завершення останньої виконаної команди.
|
|
Translated by
Maxim Dziumanenko
|
|
|
|
Located in
builtins.c:1563
|
|
525.
|
|
|
Select words from a list and execute commands.
The WORDS are expanded, generating a list of words. The
set of expanded words is printed on the standard error, each
preceded by a number. If `in WORDS' is not present, `in "$@"'
is assumed. The PS3 prompt is then displayed and a line read
from the standard input. If the line consists of the number
corresponding to one of the displayed words, then NAME is set
to that word. If the line is empty, WORDS and the prompt are
redisplayed. If EOF is read, the command completes. Any other
value read causes NAME to be set to null. The line read is saved
in the variable REPLY. COMMANDS are executed after each selection
until a break command is executed.
Exit Status:
Returns the status of the last command executed.
|
|
|
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.
|
|
|
|
Пропонує вибрати слово та виконує відповідні команди.
СЛОВА розгортаються, утворюючи список слів. Отриманий список слів
виводиться пронумерованим до стандартного виводу помилок. Якщо `in СЛОВА'
не вказано, береться `in "$@"'. Тоді виводиться запрошення PS3 та зі
стандартного вводу зчитується рядок. Якщо цей рядок є числом, що вказує
номер одного зі слів, НАЗВА встановлюється у це слово. Якщо рядок порожній,
СЛОВА та запрошення виводяться знов. Якщо прочитано кінець файла, команда
завершується. Якщо рядок містить щось інше, НАЗВІ призначається порожній
рядок. Прочитаний рядок зберігається у змінній REPLY. Після кожного
зчитування виконуються КОМАНДИ. Команда продовжує виконання доки не
буде викликано команду break.
Код завершення:
Команда повертає код завершення останньої виконаної команди.
|
|
Translated by
yurchor
|
|
|
|
Located in
builtins.c:1581
|
|
526.
|
|
|
Report time consumed by pipeline's execution.
Execute PIPELINE and print a summary of the real time, user CPU time,
and system CPU time spent executing PIPELINE when it terminates.
Options:
-p [tab] print the timing summary in the portable Posix format
The value of the TIMEFORMAT variable is used as the output format.
Exit Status:
The return status is the return status of PIPELINE.
|
|
|
[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.
|
|
|
|
Доповідає про час виконання ланцюжка команд.
Виконує ЛАНЦЮЖОК та, по його завершенні, друкує звіт про час процесора,
витрачений користувачем, системою та сумарно на виконання ЛАНЦЮЖКА.
Параметри:
-p [tab] Друкує звіт у форматі, що відповідає стандарту POSIX.
Час виводиться у форматі, вказаному у змінній TIMEFORMAT.
Код завершення:
Команда повертає код завершення ЛАНЦЮЖКА-КОМАНД.
|
|
Translated by
Maxim Dziumanenko
|
|
|
|
Located in
builtins.c:1602
|
|
527.
|
|
|
Execute commands based on pattern matching.
Selectively execute COMMANDS based upon WORD matching PATTERN. The
`|' is used to separate multiple patterns.
Exit Status:
Returns the status of the last command executed.
|
|
|
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
yurchor
|
|
|
|
Located in
builtins.c:1619
|
|
528.
|
|
|
Execute commands based on conditional.
The `if COMMANDS' list is executed. If its exit status is zero, then the
`then COMMANDS' list is executed. Otherwise, each `elif COMMANDS' list is
executed in turn, and if its exit status is zero, the corresponding
`then COMMANDS' list is executed and the if command completes. Otherwise,
the `else COMMANDS' list is executed, if present. The exit status of the
entire construct is the exit status of the last command executed, or zero
if no condition tested true.
Exit Status:
Returns the status of the last command executed.
|
|
|
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.
|
|
|
|
Виконує команди відповідно до умови.
КОМАНДИ з `if КОМАНДИ' виконуються, і якщо їх код завершення нульовий,
виконуються КОМАНДИ з `then КОМАНДИ'. Інакше в свою чергу виконуються
команди з `elif КОМАНДИ', і якщо їх код завершення нульовий, виконуються
КОМАНДИ з відповідного `then КОМАНДИ'. Інакше виконуються КОМАНДИ з
`else КОМАНДИ'. Блоки elif та else не обов’язкові.
Код завершення:
Команда повертає код завершення останньої виконаної команди або нуль,
якщо жодна з перевірених умов не була істинною.
|
|
Translated by
Maxim Dziumanenko
|
|
|
|
Located in
builtins.c:1631
|
|
529.
|
|
|
Execute commands as long as a test succeeds.
Expand and execute COMMANDS as long as the final command in the
`while' COMMANDS has an exit status of zero.
Exit Status:
Returns the status of the last command executed.
|
|
|
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.
|
|
|
|
Циклічно виконує команди поки виконується умова.
Виконуватиме КОМАНДИ, поки остання команда з КОМАНД у `while'
не завершиться невдало.
Код завершення:
Команда повертає код завершення останньої виконаної команди.
|
|
Translated by
Maxim Dziumanenko
|
|
|
|
Located in
builtins.c:1647
|
|
530.
|
|
|
Execute commands as long as a test does not succeed.
Expand and execute COMMANDS as long as the final command in the
`until' COMMANDS has an exit status which is not zero.
Exit Status:
Returns the status of the last command executed.
|
|
|
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.
|
|
|
|
Виконує команди доки умову не буде виконано.
Виконуватиме КОМАНДИ, поки остання команда з КОМАНД у `until'
не завершиться успішно.
Код завершення:
Команда повертає код завершення останньої виконаної команди.
|
|
Translated by
Maxim Dziumanenko
|
|
|
|
Located in
builtins.c:1659
|