Translations by Göran Uddeborg
Göran Uddeborg has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
~ |
Set variable values and attributes.
Declare variables and give them attributes. If no NAMEs are given,
display the attributes and values of all variables.
Options:
-f restrict action or display to function names and definitions
-F restrict display to function names only (plus line number and
source file when debugging)
-g create global variables when used in a shell function; otherwise
ignored
-p display the attributes and value of each NAME
Options which set attributes:
-a to make NAMEs indexed arrays (if supported)
-A to make NAMEs associative arrays (if supported)
-i to make NAMEs have the `integer' attribute
-l to convert the value of each NAME to lower case on assignment
-n make NAME a reference to the variable named by its value
-r to make NAMEs readonly
-t to make NAMEs have the `trace' attribute
-u to convert the value of each NAME to upper case on assignment
-x to make NAMEs export
Using `+' instead of `-' turns off the given attribute.
Variables with the integer attribute have arithmetic evaluation (see
the `let' command) performed when the variable is assigned a value.
When used in a function, `declare' makes NAMEs local, as with the `local'
command. The `-g' option suppresses this behavior.
Exit Status:
Returns success unless an invalid option is supplied or a variable
assignment error occurs.
|
|
2019-02-23 |
Sätt variabelvärden och -attribut.
Deklarera variabler och ge dem attribut. Om inget NAMN anges, visa
attributen och värdena på alla variabler.
Flaggor:
-f begränsa åtgärden till att visa funktionsnamn och -definitioner
-F begränsa visandet till endast funktionsnamn (plus radnummer
och källkodsfil vid felsökning)
-g skapa globala variabler när använt i en skalfunktion, ignoreras
i övrigt
-p visa attributen och värden på varje NAMN
Flaggor som sätter attribut:
-a för att göra NAMN till indexerade vektorer (om det stöds)
-A för att göra NAMN till associativa vektorer (om det stöds)
-i för att ge NAMN attributet ”heltal”
-l för att konvertera värdet av varje NAMN till gemena vid tilldelning
-n gör NAMN till en referens till variabeln som namnges som värde
-r för att göra NAMN endast läsbart
-t för att ge NAMN attributet ”spåra”
-u för att konvertera värdet av varje NAMN till versaler vid tilldelning
-x för att exportera NAMN
Användning av ”+” istället för ”-” slår av det angivna attributet.
För variabler med attributet heltal utförs aritmetisk beräkning (se
kommandot ”let”) när variabeln tilldelas ett värde.
Vid användning i en funktion gör ”declare” NAMN lokala, som med kommandot
”local”. Flaggan ”-g” åsidosätter detta beteende.
Slutstatus:
Returnerar framgång om inte en ogiltig flagga ges eller ett fel vid
variabeltilldelning inträffar.
|
|
~ |
Copyright (C) 2018 Free Software Foundation, Inc.
|
|
2019-02-23 |
Copyright © 2018 Free Software Foundation, Inc.
|
|
~ |
complete [-abcdefgjksuv] [-pr] [-DEI] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]
|
|
2019-02-23 |
complete [-abcdefgjksuv] [-pr] [-DEI] [-o flagga] [-A åtgärd] [-G globmnst] [-W ordlista] [-F funktion] [-C kommando] [-X filtermnst] [-P prefix] [-S suffix] [namn …]
|
|
~ |
wait [-fn] [id ...]
|
|
2019-02-23 |
wait [-fn] [id …]
|
|
~ |
Wait for job completion and return exit status.
Waits for each process identified by an 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 job specification, waits for all processes
in that job's pipeline.
If the -n option is supplied, waits for the next job to terminate and
returns its exit status.
If the -f option is supplied, and job control is enabled, waits for the
specified ID to terminate, instead of waiting for it to change status.
Exit Status:
Returns the status of the last ID; fails if ID is invalid or an invalid
option is given.
|
|
2019-02-23 |
Vänta på att jobb blir färdiga och returnera slutstatus.
Väntar på varje process som identifieras av ett ID, som kan vara en
process-id eller en jobbspecifikation, och rapportera dess
avslutningsstatus. Om ID inte ges, vänta på alla nu körande
barnprocesser, och returstatus är noll. Om ID är en jobbspecifikation,
vänta på alla processer i det jobbets rör.
Om flaggan -n ges väntar på nästa jobb att avsluta och returnera dess
slutstatus.
Om flaggan -f anges, och jobbstyrning är aktiverat, väntar på att det
angivna ID:t avslutas, istället för att vänta på att det ändrar status.
Slutstatus:
Returnerar status på den sista ID, misslyckas ifall ID är ogiltig
eller en ogiltig flagga ges.
|
|
~ |
Modify shell resource limits.
Provides control over the resources available to the shell and processes
it creates, on systems that allow such control.
Options:
-S use the `soft' resource limit
-H use the `hard' resource limit
-a all current limits are reported
-b the socket buffer size
-c the maximum size of core files created
-d the maximum size of a process's data segment
-e the maximum scheduling priority (`nice')
-f the maximum size of files written by the shell and its children
-i the maximum number of pending signals
-k the maximum number of kqueues allocated for this process
-l the maximum size a process may lock into memory
-m the maximum resident set size
-n the maximum number of open file descriptors
-p the pipe buffer size
-q the maximum number of bytes in POSIX message queues
-r the maximum real-time scheduling priority
-s the maximum stack size
-t the maximum amount of cpu time in seconds
-u the maximum number of user processes
-v the size of virtual memory
-x the maximum number of file locks
-P the maximum number of pseudoterminals
-T the maximum number of threads
Not all options are available on all platforms.
If LIMIT is given, it is the new value of the specified resource; the
special LIMIT values `soft', `hard', and `unlimited' stand for the
current soft limit, the current hard limit, and no limit, respectively.
Otherwise, the current value of the specified resource is printed. If
no option is given, then -f is assumed.
Values are in 1024-byte increments, except for -t, which is in seconds,
-p, which is in increments of 512 bytes, and -u, which is an unscaled
number of processes.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
|
|
2017-05-17 |
Modifiera skalresursgränser.
Ger kontroll över resurserna som är tillgängliga till skalet och processer
det skapar, på system som möjliggör sådan styrning.
Flaggor:
-S använd den ”mjuka” resursgränsen
-H använd den ”hårda” resursgränsen
-a alla aktuella gränser rapporteras
-b storleken på uttagsbuffertar
-c den maximala storleken på minnesutskrifter som skapas
-d den maximala storleken på en process datasegment
-e den maximala schemaläggningsprioriteten (”nice”)
-f den maximala storleken på filer som skrivs av skalet och dess
barn
-i det maximala antalet väntande signaler
-k det maximala antalet kqueue:r allokerade för denna process
-l den maximala storleken en process kan låsa i minnet
-m den maximala residenta mängdstorleken
-n det maximala antalet öppna filbeskrivare
-p rörbuffertstorleken
-q det maximala antalet byte i POSIX-meddelandeköer
-r den maximala prioriteten för realtidsschemaläggning
-s den maximala stackstorleken
-t den maximala mängden cpu-tid i sekunder
-u det maximala antalet användarprocesser
-v storleken på det virtuella minnet
-x det maximala antalet fillås
-P det maximala antalet pseudoterminaler
-T det maximala antalet trådar
Alla flaggor är inte tillgängliga på alla plattformar.
Om GRÄNS anges är det ett nytt värde för den specificerade resursen; de
speciella GRÄNS-värdena ”soft”, ”hard” och ”unlimited” står för den
aktuella mjuka gränsen, den aktuella hårda gränsen respektive ingen gräns.
Annars skrivs det aktuella värdet på den specificerade resursen. Om
ingen flagga ges antas -f.
Värden är i 1024-bytesteg, utom för -t som är i sekunder, -p som är i steg
på 512 byte och -u som är ett antal processer utan någon skalning.
Slutstatus:
Returnerar framgång om inte en ogiltig flagga anges eller ett fel inträffar.
|
|
~ |
compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]
|
|
2017-05-17 |
compgen [-abcdefgjksuv] [-o flagga] [-A åtgärd] [-G globmnst] [-W ordlista] [-F funktion] [-C kommando] [-X filtermnst] [-P prefix] [-S suffix] [ord]
|
|
~ |
typeset [-aAfFgilnrtux] [-p] name[=value] ...
|
|
2017-05-17 |
typeset [-aAfFgilnrtux] [-p] namn[=värde] ...
|
|
~ |
Parse option arguments.
Getopts is used by shell procedures to parse positional parameters
as options.
OPTSTRING contains the option letters to be recognized; if a letter
is followed by a colon, the option is expected to have an argument,
which should be separated from it by white space.
Each time it is invoked, getopts will place the next option in the
shell variable $name, initializing name if it does not exist, and
the index of the next argument to be processed into the shell
variable OPTIND. OPTIND is initialized to 1 each time the shell or
a shell script is invoked. When an option requires an argument,
getopts places that argument into the shell variable OPTARG.
getopts reports errors in one of two ways. If the first character
of OPTSTRING is a colon, getopts uses silent error reporting. In
this mode, no error messages are printed. If an invalid option is
seen, getopts places the option character found into OPTARG. If a
required argument is not found, getopts places a ':' into NAME and
sets OPTARG to the option character found. If getopts is not in
silent mode, and an invalid option is seen, getopts places '?' into
NAME and unsets OPTARG. If a required argument is not found, a '?'
is placed in NAME, OPTARG is unset, and a diagnostic message is
printed.
If the shell variable OPTERR has the value 0, getopts disables the
printing of error messages, even if the first character of
OPTSTRING is not a colon. OPTERR has the value 1 by default.
Getopts normally parses the positional parameters ($0 - $9), but if
more arguments are given, they are parsed instead.
Exit Status:
Returns success if an option is found; fails if the end of options is
encountered or an error occurs.
|
|
2017-02-17 |
Tolka flaggargument.
Getopts används av skalprocedurer för att tolka positionsparametrar
som flaggor.
FLGSTRÄNG innehåller de flaggtecken som skall kännas igen. Om ett
tecken följs av ett kolon förväntas flaggan ha ett argument, som
skall separeras från den med blanktecken.
Varje gång det anropas kommer getopts placera nästa flagga i skal-
variabeln $namn, initiera namnet om det inte redan finns, och
index på nästa argument läggas i skalvariabeln OPTIND. OPTIND
initieras till 1 varje gång skalet eller ett skalskript startas. När
en flagga behöver ett argument placerar getopts det argumentet i
skalvariabeln OPTARG.
getopts rapporterar fel på ett av två sätt. Om det första tecknet
i OPTSTRING är ett kolon använder getopts tyst felrapportering. I
detta läge skrivs inget felmeddelande ut. Om en ogiltig flagga ses
placerar getopts det funna flaggtecknet i OPTARG. Om ett nödvändigt
argument inte finns placerar getopts ett ”:” i NAMN och sätter OPTARG
till det funna flaggtecknet. Om getopts inte är i tyst läge och en
felaktig flagga upptäcks placerar getopts ”?” i NAMN och tar bort
OPTARG. Om ett nödvändigt argument inte hittas placeras ett ”?” i
NAMN, OPTARG tas bort och ett felmeddelande skrivs.
Om skalvariabeln OPTERR har värdet 0 avaktiverar getopts utskriften
av felmeddelanden, även om det första tecknet i FLGSTRÄNG inte är ett
kolon. OPTERR har värdet 1 som standard.
Getopts tolkar normalt positionsparametrarna ($0 - $9), men om fler
argument ges tolkas de istället.
Slutstatus:
Returnerar framgång om en flagga hittas, misslyckas om slutet av
flaggorna nås eller ett fel inträffar.
|
|
~ |
Evaluate arithmetic expression.
The EXPRESSION is evaluated according to the rules for arithmetic
evaluation. Equivalent to "let EXPRESSION".
Exit Status:
Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise.
|
|
2017-02-17 |
Beräkna aritmetiskt uttryck.
UTTRYCKet beräknas enligt reglerna för aritmetisk beräkning.
Likvärdigt med ”let UTTRYCK”.
Slutstatus:
Returnerar 1 om UTTRYCK beräknas till 0, returnerar 0 annars.
|
|
~ |
declare [-aAfFgilnrtux] [-p] [name[=value] ...]
|
|
2014-08-30 |
declare [-aAfFgilnrtux] [-p] [namn[=värde] …]
|
|
~ |
Returns the context of the current subroutine call.
Without EXPR, returns
|
|
2010-01-04 |
Returnera kontexten för det aktuella subrutinanropet.
Utan UTTR, returnerar
|
|
~ |
exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
|
|
2009-08-24 |
exec [-cl] [-a namn] [kommando [argument ...]] [omdirigering ...]
|
|
~ |
Unknown Signal #
|
|
2009-08-24 |
Okänd signal nr
|
|
~ |
Parse option arguments.
Getopts is used by shell procedures to parse positional parameters
as options.
OPTSTRING contains the option letters to be recognized; if a letter
is followed by a colon, the option is expected to have an argument,
which should be separated from it by white space.
Each time it is invoked, getopts will place the next option in the
shell variable $name, initializing name if it does not exist, and
the index of the next argument to be processed into the shell
variable OPTIND. OPTIND is initialized to 1 each time the shell or
a shell script is invoked. When an option requires an argument,
getopts places that argument into the shell variable OPTARG.
getopts reports errors in one of two ways. If the first character
of OPTSTRING is a colon, getopts uses silent error reporting. In
this mode, no error messages are printed. If an invalid option is
seen, getopts places the option character found into OPTARG. If a
required argument is not found, getopts places a ':' into NAME and
sets OPTARG to the option character found. If getopts is not in
silent mode, and an invalid option is seen, getopts places '?' into
NAME and unsets OPTARG. If a required argument is not found, a '?'
is placed in NAME, OPTARG is unset, and a diagnostic message is
printed.
If the shell variable OPTERR has the value 0, getopts disables the
printing of error messages, even if the first character of
OPTSTRING is not a colon. OPTERR has the value 1 by default.
Getopts normally parses the positional parameters ($0 - $9), but if
more arguments are given, they are parsed instead.
Exit Status:
Returns success if an option is found; fails if the end of options is
encountered or an error occurs.
|
|
2009-08-24 |
Tolka flaggargument.
Getopts används av skalprocedurer för att tolka positionsparametrar
som flaggor.
FLGSTRÄNG innehåller de flaggtecken som skall kännas igen. Om ett
tecken följs av ett kolon förväntas flaggan ha ett argument, som
skall separeras från den med blanktecken.
Varje gång det anropas kommer getopts placera nästa flagga i skal-
variabeln $namn, initiera namnet om det inte redan finns, och
index på nästa argument läggas i skalvariabeln OPTIND. OPTIND
initieras till 1 varje gång skalet eller ett skalskrpt startas. När
en flagga behöver ett argument placerar getopts det argumentet i
skalvariabeln OPTARG.
getopts rapporterar fel på ett av två sätt. Om det första tecknet
i OPTSTRING är ett kolon använder getopts tyst felrapportering. I
detta läge skrivs inget felmeddelande ut. Om en ogiltig flagga ses
placerar getopts det funna flaggtecknet i OPTARG. Om ett nödvändigt
argument inte finns placerar getopts ett ":" i NAMN och sätter OPTARG
till det funna flaggtecknet. Om getopts inte är i tyst läge och en
felaktig flagga upptäcks placerar getopts "?" i NAMN och tar bort
OPTARG. Om ett nödvändigt argument inte hittas placeras ett "?" i
NAMN, OPTARG tas bort och ett felmeddelande skrivs.
Om skalvariabeln OPTERR har värdet 0 avaktiverar getopts utskriften
av felmeddelanden, även om det första tecknet i FLGSTRÄNG inte är ett
kolon. OPTERR har värdet 1 som standard.
Getopts tolkar normalt positionsparametrarna ($0 - $9), men om fler
argument ges tolkas de istället.
Slutstatus:
Returnerar framgång om en flagga hittas, misslyckas om slutet av
flaggorna nås eller ett fel inträffar.
|
|
~ |
add_process: process %5ld (%s) in the_pipeline
|
|
2009-08-24 |
add_process: process %5ld (%s) i the_pipeline
|
|
~ |
getopts optstring name [arg]
|
|
2009-08-24 |
getopts flgsträng namn [arg]
|
|
~ |
Evaluate arithmetic expression.
The EXPRESSION is evaluated according to the rules for arithmetic
evaluation. Equivalent to "let EXPRESSION".
Exit Status:
Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise.
|
|
2009-08-24 |
Beräkna aritmetiskt uttryck.
UTTRYCKet beräknas enligt reglerna för aritmetisk beräkning.
Likvärdigt med "let UTTRYCK".
Slutstatus:
Returnerar 1 om UTTRYCK beräknas till 0, returnerar 0 annars.
|
|
1. |
bad array subscript
|
|
2008-09-19 |
felaktigt vektorindex
|
|
2. |
%s: removing nameref attribute
|
|
2019-02-23 |
%s: tar bort attributet namnreferens
|
|
3. |
%s: cannot convert indexed to associative array
|
|
2009-08-24 |
%s: det går inte att konvertera en indexerad vektor till associativ
|
|
4. |
%s: invalid associative array key
|
|
2009-08-24 |
%s: ogiltig nyckel till associativ vektor
|
|
5. |
%s: cannot assign to non-numeric index
|
|
2008-09-19 |
%s: det går inte att tilldela till ickenumeriska index
|
|
6. |
%s: %s: must use subscript when assigning associative array
|
|
2009-08-24 |
%s: %s: måste använda index vid tilldelning av associativ vektor
|
|
7. |
%s: cannot create: %s
|
|
2008-09-19 |
%s: det går inte att skapa: %s
|
|
8. |
bash_execute_unix_command: cannot find keymap for command
|
|
2008-09-19 |
bash_execute_unix_command: det går inte att hitta en tangentbindning för kommandot
|
|
9. |
%s: first non-whitespace character is not `"'
|
|
2008-09-19 |
%s: första ickeblanka tecknet är inte '"'
|
|
10. |
no closing `%c' in %s
|
|
2017-02-17 |
ingen avslutande ”%c” i %s
|
|
2008-09-19 |
ingen avslutande "%c" i %s
|
|
11. |
%s: missing colon separator
|
|
2008-09-19 |
%s: kolonseparator saknas
|
|
12. |
`%s': cannot unbind in command keymap
|
|
2022-08-25 |
”%s”: det går inte att avbinda i kommandotangentbindning
|
|
13. |
brace expansion: cannot allocate memory for %s
|
|
2022-08-25 |
klammerexpansion: det går inte att allokera minne för %s
|
|
2014-08-30 |
klammerexpansion: kan inte allokera minne för %s
|
|
14. |
brace expansion: failed to allocate memory for %u elements
|
|
2019-02-23 |
klammerexpansion: misslyckades att allokera minne för %u element
|
|
15. |
brace expansion: failed to allocate memory for `%s'
|
|
2014-08-30 |
klammerexpansion: misslyckades att allokera minne för ”%s”
|
|
16. |
`%s': invalid alias name
|
|
2017-02-17 |
”%s”: ogiltigt aliasnamn
|
|
2011-02-24 |
"%s": ogiltigt aliasnamn
|
|
17. |
line editing not enabled
|
|
2010-01-04 |
radredigering är inte aktiverat
|
|
18. |
`%s': invalid keymap name
|
|
2017-02-17 |
”%s”: ogiltigt tangentbindningsnamn
|
|
2008-09-19 |
"%s": ogiltigt tangentbindningsnamn
|
|
19. |
%s: cannot read: %s
|
|
2008-09-19 |
%s: det går inte att läsa: %s
|
|
20. |
`%s': unknown function name
|
|
2017-02-17 |
”%s”: okänt funktionsnamn
|
|
21. |
%s is not bound to any keys.
|
|
2008-09-19 |
%s är inte bundet till några tangenter.
|
|
23. |
`%s': cannot unbind
|
|
2017-02-17 |
”%s”: det går inte att avbinda
|
|
2008-09-19 |
"%s": det går inte att avbinda
|
|
24. |
loop count
|
|
2009-08-24 |
slingräknare
|
|
25. |
only meaningful in a `for', `while', or `until' loop
|
|
2017-02-17 |
endast meningsfullt i en ”for”-, ”while”- eller ”until”-slinga
|
|
2008-09-19 |
endast meningsfullt i en "for"-, "while"- eller "until"-slinga
|
|
26. |
Returns the context of the current subroutine call.
Without EXPR, returns "$line $filename". With EXPR, returns
"$line $subroutine $filename"; this extra information can be used to
provide a stack trace.
The value of EXPR indicates how many call frames to go back before the
current one; the top frame is frame 0.
|
|
2022-08-25 |
Returnerar kontexten för det aktuella subrutinsanropet.
Utan UTTR, returneras ”$rad $filnamn”. Med UTTR, returneras
”$rad $subrutin $filnamn”. Denna extra information kan användas för
att ge en stackspårning.
Värdet på UTTR indikerar hur många anropsramar att gå tillbaka före den
aktuella, toppramen är ram 0.
|
|
27. |
HOME not set
|
|
2008-09-19 |
HOME är inte satt
|