|
538.
|
|
|
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.
|
|
|
|
Seleciona palavras de uma lista e executa comandos.
As PALAVRAS são expandidas, gerando uma lista de palavras.
O conjunto de palavras expandidas é exibido no erro padrão,
cada um precedido por um número. Se `in PALAVRAS' não estiver
presente, `in "$@"' é presumido. Então, o prompt PS3 é exibido
e uma linha é lida da entrada padrão. Se a linha consiste
do número correspondendo àquele nas palavras exibidas, então
NOME é definido para aquela palavra. Se a linha estiver vazia,
PALAVRAS e o prompt são exibidos novamente. Se EOF (fim do
arquivo) for lido, o comando conclui. Qualquer outro valor
lido causa NOME ser definido como nulo. A linha lida é salva
na variável REPLY. COMANDOS são executados após cada seleção
até um comando `break' ser executado.
Status de saída:
Retorna o status do último comando executado.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help select
|
|
Located in
builtins.c:1581
|
|
539.
|
|
|
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.
|
|
|
|
Relata o tempo consumido pela execução da linha de comandos.
Executa LINHA-COMANDOS e imprime um resumo do tempo real,
tempo de CPU do usuário e do sistema, gastos executando
LINHA-COMANDOS, quando este terminar.
Opções:
-p [tab] imprime o resumo do tempo no formato portátil do Posix
O valor da variável TIMEFORMAT é usada como formato de saída.
Status de saída:
O status de retorno é o status retornado por LINHA-COMANDOS.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help time
|
|
Located in
builtins.c:1602
|
|
540.
|
|
|
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 comandos baseados em correspondência de padrão.
Seletivamente executa COMANDOS baseados na PALAVRA correspondendo
a PADRÃO. O `|' é usado para separar múltiplos padrões.
Status de saída:
Retorna o status do último comando executado.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help case
|
|
Located in
builtins.c:1619
|
|
541.
|
|
|
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 comandos baseados em condicional.
A lista `if COMANDOS' é executada. Se seu status de saída for zero,
então a lista `then COMANDOS' é executada. Do contrário, cada lista
`elif COMANDOS' é executada em turnos e, se seu status de saída for
zero, a lista `then COMANDOS' correspondente é executada e o comando
`if' conclui. Do contrário, a lista `else COMANDOS' é executada, se
presente. O status de saída de toda construção é o status de saída do
último comando executado, ou zero, se nenhuma condição testada
resultou em verdadeiro.
Status de saída:
Retorna o status do último comando executado.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help if
|
|
Located in
builtins.c:1631
|
|
542.
|
|
|
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 comandos desde que se obtenha sucesso nos testes.
Expande e executa COMANDOS desde que o último comando nos
COMANDOS de `while' tenham status de saída zero.
Status de saída:
Retorna o status do último comando executado.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help while
|
|
Located in
builtins.c:1647
|
|
543.
|
|
|
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 comandos desde que não se obtenha sucesso nos testes.
Expande e executa COMANDOS desde que o último comando nos
COMANDOS de `until' tenham status de saída zero que seja
não-zero.
Status de saída:
Retorna o status do último comando executado.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help until
|
|
Located in
builtins.c:1659
|
|
544.
|
|
|
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:
Returns the exit status of COMMAND.
|
|
|
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.
|
|
|
|
Cria um coprocesso chamado NOME.
Executa COMANDO assincronamente, com a saída padrão e entrada padrão
do comando conectados via um `pipe' (redirecionamento) para descritores
de arquivo atribuídos para índices 0 e 1 de uma variável array NOME
no shell em execução. O NOME padrão é "COPROC".
Status de saída:
Retorna o status de saída de COMANDO.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help coproc
|
|
Located in
builtins.c:1620
|
|
545.
|
|
|
Define shell function.
Create a shell function named NAME. When invoked as a simple command,
NAME runs COMMANDs in the calling shell's context. When NAME is invoked,
the arguments are passed to the function as $1...$n, and the function's
name is in $FUNCNAME.
Exit Status:
Returns success unless NAME is readonly.
|
|
|
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.
|
|
|
|
Define uma função de shell.
Cria uma função de shell chamada NOME. Quando chamado como um comando
simples, NOME executa COMANDOs no contexto de chamada shell. Quando
NOME é chamado, os argumentos são passados para a função como $1..$n
e o nome da função está em $FUNCNAME.
Status de saída:
Retorna sucesso, a menos que NOME seja somente-leitura.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help function
|
|
Located in
builtins.c:1686
|
|
546.
|
|
|
Group commands as a unit.
Run a set of commands in a group. This is one way to redirect an
entire set of commands.
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.
|
|
|
|
Agrupa comandos como uma unidade.
Executa um conjunto de comandos em um grupo. Essa é uma
forma de redirecionar um todo um conjunto de comandos.
Status de saída:
Retorna o status do último comando executado.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
|
help -m {
|
|
Located in
builtins.c:1700
|
|
547.
|
|
|
Resume job in foreground.
Equivalent to the JOB_SPEC argument to the `fg' command. Resume a
stopped or background job. JOB_SPEC can specify either a job name
or a job number. Following JOB_SPEC with a `&' places the job in
the background, as if the job specification had been supplied as an
argument to `bg'.
Exit Status:
Returns the status of the resumed job.
|
|
|
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.
|
|
|
|
Resume trabalho em primeiro plano.
Equivalente ao argumento ESPEC-JOB para comando `fg'. Resume um
trabalho parado ou enviado para plano de fundo. ESPEC-JOB pode
especificar tanto um nome de trabalho quanto um número de trabalho.
ESPEC-JOB seguido de um `&' coloca o trabalho em plano de fundo,
como se a especificação do trabalho tivesse sido fornecida como um
argumento para `bg'.
Status de saída:
Retorna o status de um trabalho resumido.
|
|
Translated by
Rafael Fontenelle
|
|
|
|
Located in
builtins.c:1712
|