Translations by gabriell nascimento
gabriell nascimento has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
1 → 3 of 3 results | First • Previous • Next • Last |
564. |
Trap signals and other events.
Defines and activates handlers to be run when the shell receives signals
or other conditions.
ARG is a command to be read and executed when the shell receives the
signal(s) SIGNAL_SPEC. If ARG is absent (and a single SIGNAL_SPEC
is supplied) or `-', each specified signal is reset to its original
value. If ARG is the null string each SIGNAL_SPEC is ignored by the
shell and by the commands it invokes.
If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. If
a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. If
a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or a
script run by the . or source builtins finishes executing. A SIGNAL_SPEC
of ERR means to execute ARG each time a command's failure would cause the
shell to exit when the -e option is enabled.
If no arguments are supplied, trap prints the list of commands associated
with each signal.
Options:
-l print a list of signal names and their corresponding numbers
-p display the trap commands associated with each SIGNAL_SPEC
Each SIGNAL_SPEC is either a signal name in <signal.h> or a signal number.
Signal names are case insensitive and the SIG prefix is optional. A
signal may be sent to the shell with "kill -signal $$".
Exit Status:
Returns success unless a SIGSPEC is invalid or an invalid option is given.
|
|
2011-08-12 |
Sinais de armadilha e outros eventos.
Define e ativa manipuladores para serem executados quando o shell recebe sinais
ou outras condições.
ARG é um comando a ser lido e executado quando o shell recebe o(s)
sinal(s) SIGNAL_SPEC. Se ARG estiver ausente (e um único SIGNAL_SPEC
for fornecido) ou `-', cada sinal especificado for restaurada para seu valor
original. Se ARG for a string nula, cada SIGNAL_SPEC é ignorado pelo
shell e pelos comandos que ele invoca.
Se um SIGNAL_SPEC for EXIT (0) ARG é executado na saída do shell. Se
um SIGNAL_SPEC for DEBUG, ARG é executado depois de cada comando simples. Se
um SIGNAL_SPEC for RETURN, ARG é executado a cada vez que uma função shell ou um
script executado pelo . ou embutidos de origem terminam de executar. Um SIGNAL_SPEC
de ERR significa executar ARG a cada vez que uma falha do comando possa provocar que o
shell saia quando a opção -e estiver habilitada.
Se nenhum argumento for fornecido, armadilha imprime a lista de comandos associados
com cada sinal.
Opções:
-l imprime uma lista de nomes de sinal e seus números correspondentes
-p exibe os comandos de armadilha associados com cada SIGNAL_SPEC
Cada SIGNAL_SPEC é um nome de sinal em <signal.h> ou um número de sinal.
Nomes de sinal não diferenciam maiúsculas de minúsculas e o prefixo SIG é opcional. Um
sinal pode ser enviado ao shell com "kill -signal $$".
Estado de saída:
Retorna sucesso a não ser que SIGSPEC seja inválida ou uma opção inválida seja dada.
|
|
574. |
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.
|
|
2011-08-12 |
Executar comandos baseado em correspondência de padrão.
Executar seletivamente COMMANDS baseados sobre WORD correspondendo PATTERN. A
`|' é usada para separar múltiplos padrões.
Estado de saída:
Retorna o estado do último comando executado.
|
|
591. |
Display possible completions depending on the options.
Intended to be used from within a shell function generating possible
completions. If the optional WORD argument is supplied, matches against
WORD are generated.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
|
|
2011-08-12 |
Exibe possíveis complementações dependendo das opções.
Destinado a ser usado de dentro de uma função shell gerando possíveis
complementações. Se o argumento opcional WORD for fornecido, correspondências contra
WORD são geradas.
Estado de saída:
Retorna sucesso a não ser que uma opção inválida seja fornecida ou um erro ocorra.
|