|
561.
|
|
|
Wait for process completion and return exit status.
Waits for each process specified by a PID and reports its termination status.
If PID is not given, waits for all currently active child processes,
and the return status is zero. PID must be a process ID.
Exit Status:
Returns the status of the last PID; fails if PID 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.
|
|
|
|
Espera la finalització de processos i en retorna l'estat de sortida.
Espera que cada procés, identificat per PID, acabi d'executar-se, i en
mostra l'estat de sortida. Si no especifiqueu PID, espera que acabin
d'executar-se tots els processos inferiors, i surt amb estat zero. PID
ha de ser un ID de procés.
Estat de sortida:
Torna l'estat de sortida de l'últim PID; falla si PID no és vàlid o es
passa una opció no vàlida.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1534
|
|
562.
|
|
|
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.
|
|
|
|
Executa ordres per a cada element d'una llista.
Els bucles «for» executen una seqüència d'ordres per a cada un dels
elements d'una llista. Si «in PARAULES ...;» s'omet, aleshores se
suposa «in "$@"». Per a cada element de la llista PARAULES, l'element
s'assigna a NOM, i les ORDRES s'executen.
Estat de sortida:
Torna l'estat de sortida de l'última ordre executada.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1549
|
|
563.
|
|
|
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.
|
|
|
|
Bucle «for» aritmètic.
Equivalent a
(( EXP1 ))
while (( EXP2 )); do
ORDRES
(( EXP 3 ))
done
EXP1, EXP2 i EXP3 són expressions aritmètiques. Si s'omet qualsevol de
les expressions, es comporta com si el resultat de l'avaluació de
l'expressió omesa fos 1.
Estat de sortida:
Torna l'estat de sortida de l'última ordre executada.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1563
|
|
564.
|
|
|
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.
|
|
|
|
Selecciona paraules d'una llista i executa ordres.
Les PARAULES s'expandeixen i generen una llista de paraules. Les
paraules expandides s'envien a la sortida d'errors estàndard, cada una
precedida per un número. Si «in PARAULES» s'omet, se suposa «in "$@"».
Llavors, es mostra l'introductor PS3 i es llegeix una línia a l'entrada
estàndard. Si la línia correspon amb el número d'alguna de les paraules
mostrades, aleshores aquesta paraula s'assigna a NOM. Si la línia està
buida, les PARAULES i l'introductor es tornen a mostrar. Si es llegeix
EOF, l'ordre finalitza. Qualsevol altre valor llegit, fa que s'assigni
el valor nul a NOM. La línia llegida s'assigna a la variable REPLY.
Les ORDRES s'executen després de cada selecció fins a trobar una ordre
«break».
Estat de sortida:
Torna l'estat de sortida de l'última ordre executada.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1581
|
|
565.
|
|
|
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.
|
|
|
|
Informa del temps transcorregut durant l'execució d'una canonada.
Executa CANONADA i mostra un resum del temps real, el temps de CPU
d'usuari i el temps de CPU de sistema transcorregut durant l'execució de
CANONADA.
Opcions:
-p mostra el resum de temps en format POSIX portable
El valor de la variable TIMEFORMAT s'utilitza per formatar la sortida.
Estat de sortida:
L'estat de sortida és l'estat de sortida de la CANONADA.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
|
help time
|
|
Located in
builtins.c:1602
|
|
566.
|
|
|
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.
|
|
|
|
Executa ordres segons la coincidència amb patrons.
Executa ORDRES de forma selectiva en funció de si PARAULA coincideix amb
PATRÓ. El signe «|» serveix per a separar múltiples patrons.
Estat de sortida:
Torna l'estat de sortida de l'última ordre executada.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1619
|
|
567.
|
|
|
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.
|
|
|
|
Executa ordres en funció d'una condició.
Executa la llista «if ORDRES». Si l'estat de sortida és zero, llavors
també executa la llista «then ORDRES». En cas contrari cada una de les
llistes «elif ORDRES» és executada i en cas d'acabar amb estat de
sortida zero, també s'executa la corresponent llista «then ORDRES», i
l'ordre if finalitza. En cas contrari, la llista «else ORDRES»
s'executa, si és que existeix. L'estat de sortida la construcció
sencera és l'estat de sortida de l'última ordre executada, o zero si cap
de les condicions s'avalua com a certa.
Estat de sortida:
Torna l'estat de l'última ordre executada.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1631
|
|
568.
|
|
|
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.
|
|
|
|
Executa ordres repetidament mentre es compleixi una condició.
Expandeix i executa ORDRES repetidament mentre l'última ordre de les
«ORDRES while» tingui estat de sortida igual a zero.
Estat de sortida:
Torna l'estat de l'última ordre executada.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1647
|
|
569.
|
|
|
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.
|
|
|
|
Executa ordres repetidament mentre no es compleixi una condició.
Expandeix i executa ORDRES repetidament mentre l'última ordre de les
ORDRES «until» tingui estat de sortida diferent de zero.
Estat de sortida:
Torna l'estat de l'última ordre executada.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
Located in
builtins.c:1659
|
|
570.
|
|
|
Create a coprocess named NAME.
Execute COMMAND asynchronously, with the standard output and standard
input of the command connected via a pipe to file descriptors assigned
to indices 0 and 1 of an array variable NAME in the executing shell.
The default NAME is "COPROC".
Exit Status:
The coproc command returns an exit status of 0.
|
|
|
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.
|
|
|
|
Crea un coprocés anomenat NOM.
Executa ORDRE de forma asincrònica, amb la sortida estàndard i l'entrada
estàndard de l'ordre connectades via canonada als descriptors de fitxer
assignats als índexs 0 i 1 de la variable vector NOM. Per defecte NOM
és "COPROC".
Estat de sortida:
Torna l'estat de sortida d'ORDRE.
|
|
Translated by
Ernest Adrogué Calveras
|
|
|
|
|
help coproc
|
|
Located in
builtins.c:1672
|