Browsing Swedish translation

551 of 581 results
551.
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[tab]print a list of signal names and their corresponding numbers
-p[tab]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.
[tab] represents a tab character. Please write it exactly the same way, [tab], in your translation.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
Fånga signaler och andra händelser.

Definierar och aktiverar hanterare som skall köras när skalet tar emot
signaler eller andra omständigheter.

ARG är ett kommando som skall läsas och exekveras när skalet tar emot
signalen SIGNALSPEC. Om ARG inte anges (och en ensam SIGNALSPEC ges)
eller ”-” återställs varje angiven signal till sitt originalvärde. Om
ARG är den tomma strängen ignoreras varje SIGNALSPEC av skalet och av
kommandon det startar.

Om en SIGNALSPEC är EXIT (0) exekveras ARG vid avslut från skalet. Om
en SIGNALSPEC är DEBUG exekveras ARG före varje enkelt kommando. Om
en SIGNALSPEC är RETURN exekveras ARG varje gång en skalfunktion eller
ett skript kört med den inbyggda . eller source avslutar körningen. En
SIGNALSPEC ERR betyder att köra ARG varje gång ett kommandos felstatus
skulle fått skalet att avsluta om flaggan -e vore satt.

Om inga argument ges skriver trap listan av kommandon som hör till varje
signal.

Flaggor:
-l[tab]skriv en lista av signalnamn och deras motsvarande nummer
-p[tab]visa trap-kommandona associerade med varje SIGNALSPEC

Varje SIGNALSPEC är antingen ett signalnamn i <signal.h> eller ett
signalnummer. Signalnamn är skiftlägesokänsliga och SIG-prefixet är
frivilligt. En signal kan skickas till skalet med ”kill -signal $$”.

Slutstatus:
Returnerar framgång om inte en SIGSPEC är ogiltig eller en ogiltig flagga
ges.
Translated by Göran Uddeborg
Located in builtins.c:1365
551 of 581 results

This translation is managed by Ubuntu Swedish Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.