Translations by Pekka Niemi
Pekka Niemi has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
~ |
Change the shell working directory.
Change the current directory to DIR. The default DIR is the value of the
HOME shell variable.
The variable CDPATH defines the search path for the directory containing
DIR. Alternative directory names in CDPATH are separated by a colon (:).
A null directory name is the same as the current directory. If DIR begins
with a slash (/), then CDPATH is not used.
If the directory is not found, and the shell option `cdable_vars' is set,
the word is assumed to be a variable name. If that variable has a value,
its value is used for DIR.
Options:
-L force symbolic links to be followed
-P use the physical directory structure without following symbolic
links
The default is to follow symbolic links, as if `-L' were specified.
Exit Status:
Returns 0 if the directory is changed; non-zero otherwise.
|
|
2010-01-04 |
Vaihtaa työhakemistoa.
Siirry hakemistoon HAKEMISTO. HAKEMISTOn oletusarvo on HOME-
ympäristömuuttujan arvo.
CDPATH-ympäristömuuttuja määrittelee hakupolun HAKEMISTOlle. Vaihto-
ehtoiset hakemistonimet erotetaan CDPAThissa kaksoispisteellä.
Tyhjä hakemisto tarkoittaa nykyistä hakemistoa. Jos HAKEMISTO ALKAA
kauttaviivalla, CDPATHia ei käytetä.
Jos hakemistoa ei löydy, ja komentotulkin valitsin ”cdable_vars” on asetettu,
oletetaan hakemiston olevan muuttuja. Jos kyseisellä muuttujalla on arvo,
sitä käytetään HAKEMISTOksi.
Valitsimet:
-L pakota seuraamaan symbolisia linkkejä
-P käytä fyysistä hakemistorakennetta, älä seuraa symbolisia linkkejä
Oletus on seurata symbolisia linkkejä, kuten jos ”-L” olisi annettu.
Paluuarvo:
Palauttaa 0, jos hakemistoa vaihdettiin, nollasta poikkeavan muussa
tapauksessa.
|
|
~ |
typeset [-aAfFilrtux] [-p] name[=value] ...
|
|
2010-01-04 |
typeset [-aAfFilrtux] [-p] nimi[=arvo] ...
|
|
~ |
readonly [-af] [name[=value] ...] or readonly -p
|
|
2010-01-04 |
readonly [-af] [nimi[=arvo] ...] tai readonly -p
|
|
~ |
Formats and prints ARGUMENTS under control of the FORMAT.
Options:
-v var assign the output to shell variable VAR rather than
display it on the standard output
FORMAT is a character string which contains three types of objects: plain
characters, which are simply copied to standard output; character escape
sequences, which are converted and copied to the standard output; and
format specifications, each of which causes printing of the next successive
argument.
In addition to the standard format specifications described in printf(1)
and printf(3), printf interprets:
%b expand backslash escape sequences in the corresponding argument
%q quote the argument in a way that can be reused as shell input
Exit Status:
Returns success unless an invalid option is given or a write or assignment
error occurs.
|
|
2010-01-04 |
Muotoilee ja tulostaa ARGUMENTIT MUOTOILULLA muotoiltuna.
Valitsimet:
-v muuttuja sijoita tuloste muuttujaan MUUTTUJA, älä tulosta
MUOTOILU on merkkijono, joka koostuu kolmentyyppisistä alkioista:
tavallisista merkeistä, jotka vain kopioidaan vakiotulosteeseen;
escape-yhdistelmistä, jotka muunnetaan ja kopioidaan vakiotulosteeseen; ja
muotoilumäärityksistä, joista jokainen aiheuttaa seuraavan vuorossa
olevan argumentin tulostamisen.
Printf(1):n ja printf(3):n vakiomuotoilujen lisäksi printf tulkitsee:
%b lavenna escape-yhdistelmät vastaavassa argumentissa
%q kapseloi argumentti siten, että se voidaan käyttää tulkin
syötteenä
Paluuarvo:
Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin tai
tapahtuu kirjoitus- tai sijoitusvirhe.
|
|
~ |
declare [-aAfFilrtux] [-p] [name[=value] ...]
|
|
2010-01-04 |
declare [-aAfFilrtux] [-p] [niemi[=arvo] ...]
|
|
~ |
Copyright (C) 2009 Free Software Foundation, Inc.
|
|
2010-01-04 |
Copyright © 2009 Free Software Foundation, Inc.
|
|
~ |
set [--abefhkmnptuvxBCHP] [-o option-name] [arg ...]
|
|
2010-01-04 |
set [--abefhkmnptuvxBCHP] [-o valitsinnimi] [arg ...]
|
|
~ |
Evaluate conditional expression.
Exits with a status of 0 (true) or 1 (false) depending on
the evaluation of EXPR. Expressions may be unary or binary. Unary
expressions are often used to examine the status of a file. There
are string operators as well, and numeric comparison operators.
File operators:
-a FILE True if file exists.
-b FILE True if file is block special.
-c FILE True if file is character special.
-d FILE True if file is a directory.
-e FILE True if file exists.
-f FILE True if file exists and is a regular file.
-g FILE True if file is set-group-id.
-h FILE True if file is a symbolic link.
-L FILE True if file is a symbolic link.
-k FILE True if file has its `sticky' bit set.
-p FILE True if file is a named pipe.
-r FILE True if file is readable by you.
-s FILE True if file exists and is not empty.
-S FILE True if file is a socket.
-t FD True if FD is opened on a terminal.
-u FILE True if the file is set-user-id.
-w FILE True if the file is writable by you.
-x FILE True if the file is executable by you.
-O FILE True if the file is effectively owned by you.
-G FILE True if the file is effectively owned by your group.
-N FILE True if the file has been modified since it was last read.
FILE1 -nt FILE2 True if file1 is newer than file2 (according to
modification date).
FILE1 -ot FILE2 True if file1 is older than file2.
FILE1 -ef FILE2 True if file1 is a hard link to file2.
String operators:
-z STRING True if string is empty.
-n STRING
STRING True if string is not empty.
STRING1 = STRING2
True if the strings are equal.
STRING1 != STRING2
True if the strings are not equal.
STRING1 < STRING2
True if STRING1 sorts before STRING2 lexicographically.
STRING1 > STRING2
True if STRING1 sorts after STRING2 lexicographically.
Other operators:
-o OPTION True if the shell option OPTION is enabled.
! EXPR True if expr is false.
EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.
EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.
arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne,
-lt, -le, -gt, or -ge.
Arithmetic binary operators return true if ARG1 is equal, not-equal,
less-than, less-than-or-equal, greater-than, or greater-than-or-equal
than ARG2.
Exit Status:
Returns success if EXPR evaluates to true; fails if EXPR evaluates to
false or an invalid argument is given.
|
|
2010-01-04 |
Evaluoi ehdollisen lausekkeen.
Poistuu arvolla 0 (tosi) tai 1 (epätosi) riippuen LAUSEKKEEN evaluoinnista.
Lausekkeen voivat olla unaarisia tai binäärisiä. Unaarisia lausekkeita
käytetään usein tarkistamaan tiedoston tila. On myös merkkijono-
operaattoreita, ja operaattoreita numeroiden vertailuun.
Tiedosto-operaattorit:
-a TIEDOSTO Tosi jos tiedosto on olemassa.
-b TIEDOSTO Tosi jos tiedosto on lohkolaite.
-c TIEDOSTO Tosi jos tiedosto on merkkilaite.
-d TIEDOSTO Tosi jos tiedosto on hakemisto.
-e TIEDOSTO Tosi jos tiedosto on olemassa.
-f TIEDOSTO Tosi jos tiedosto on olemassa ja on tavallinen tiedosto.
-g TIEDOSTO Tosi jos tiedostolla on set-group-id -bitti.
-h TIEDOSTO Tosi jos tiedosto on symbolinen linkki.
-L TIEDOSTO Tosi jos tiedosto on symbolinen linkki.
-k TIEDOSTO Tosi jos tiedostolla on sticky-bitti.
-p TIEDOSTO Tosi jos tiedosto on nimetty putki.
-r TIEDOSTO Tosi jos sinulla on lukuoikeus tiedostoon.
-s TIEDOSTO Tosi jos tiedosto on olemassa eikä se ole tyhjä.
-S TIEDOSTO Tosi jos tiedosto on soketti.
-t FD Tosi jos FD on avattu päätteeseen.
-u TIEDOSTO Tosi jos tiedostolla on set-user-id -bitti.
-w TIEDOSTO Tosi jos sinulla on kirjoitusoikeus tiedostoon.
-x TIEDOSTO Tosi jos sinulla on tiedoston suoritusoikeus.
-O TIEDOSTO Tosi jos omistat tiedoston.
-G TIEDOSTO Tosi jos ryhmäsi omistaa tiedoston.
-N TIEDOSTO Tosi jos tiedostoa on muokattu viimeisen lukukerran
jälkeen.
TIEDOSTO1 -nt TIEDOSTO2 Tosi jos TIEDOSTO1 on uudempi kuin TIEDOSTO2
(muutospäivän perusteella).
TIEDOSTO1 -ot TIEDOSTO2 Tosi jos TIEDOSTO1 on vanhempi kuin TIEDOSTO2.
TIEDOSTO1 -ef TIEDOSTO2 Tosi jos TIEDOSTO1 on kovolinkki TIEDOSTO2:een.
Merkkijono-operaattorit:
-z JONO Tosi jos JONO on tyhjä.
-n JONO
JONO Tosi jos JONO ei ole tyhjä.
JONO1 = JONO2
Tosi jos JONOT ovat samat.
JONO1 != JONO2
Tosi jos JONOT eivät ole samat.
JONO1 < JONO2
Tosi jos JONO1 aakkostuu ennen JONO2:ta.
JONO1 > JONO2
Tosi jos JONO1 aakkostuu JONO2:n jälkeen.
Muut operaattorit:
-o VALITSIN Tosi jos tulkin VALITSIN on käytössä.
! LAUSEKE Tosi jos LAUSEKE on epätosi.
LAUSEKE1 -a LAUSEKE2
Tosi jos molemmat lausekkeet ovat tosia.
LAUSEKE1 -o LAUSEKE2
Tosi jos jompikumpi lausekkeista on tosi.
ARG1 OP ARG2 Aritmeettiset testit. OP on jokin seuraavista:
-eq, -ne, -lt, -le, -gt tai -ge.
Binääriset aritmetiikkaoperaattorit palauttavat toden jos ARG1 on
yhtäsuuri, erisuuri, pienempi, pienempi tai yhtä suuri, suurempi
tahi suurempi tai yhtä suuri kuin ARG2.
Paluuarvo:
Palauttaa onnistumisen jos LAUSEKE evaluoituu todeksi; epäonnistuu jos
LAUSEKE evaluoituu vääräksi tai on annettu virheellinen argumentti.
|
|
~ |
Set or unset values of shell options and positional parameters.
Change the value of shell attributes and positional parameters, or
display the names and values of shell variables.
Options:
-a Mark variables which are modified or created for export.
-b Notify of job termination immediately.
-e Exit immediately if a command exits with a non-zero status.
-f Disable file name generation (globbing).
-h Remember the location of commands as they are looked up.
-k All assignment arguments are placed in the environment for a
command, not just those that precede the command name.
-m Job control is enabled.
-n Read commands but do not execute them.
-o option-name
Set the variable corresponding to option-name:
allexport same as -a
braceexpand same as -B
emacs use an emacs-style line editing interface
errexit same as -e
errtrace same as -E
functrace same as -T
hashall same as -h
histexpand same as -H
history enable command history
ignoreeof the shell will not exit upon reading EOF
interactive-comments
allow comments to appear in interactive commands
keyword same as -k
monitor same as -m
noclobber same as -C
noexec same as -n
noglob same as -f
nolog currently accepted but ignored
notify same as -b
nounset same as -u
onecmd same as -t
physical same as -P
pipefail the return value of a pipeline is the status of
the last command to exit with a non-zero status,
or zero if no command exited with a non-zero status
posix change the behavior of bash where the default
operation differs from the Posix standard to
match the standard
privileged same as -p
verbose same as -v
vi use a vi-style line editing interface
xtrace same as -x
-p Turned on whenever the real and effective user ids do not match.
Disables processing of the $ENV file and importing of shell
functions. Turning this option off causes the effective uid and
gid to be set to the real uid and gid.
-t Exit after reading and executing one command.
-u Treat unset variables as an error when substituting.
-v Print shell input lines as they are read.
-x Print commands and their arguments as they are executed.
-B the shell will perform brace expansion
-C If set, disallow existing regular files to be overwritten
by redirection of output.
-E If set, the ERR trap is inherited by shell functions.
-H Enable ! style history substitution. This flag is on
by default when the shell is interactive.
-P If set, do not follow symbolic links when executing commands
such as cd which change the current directory.
-T If set, the DEBUG trap is inherited by shell functions.
- Assign any remaining arguments to the positional parameters.
The -x and -v options are turned off.
Using + rather than - causes these flags to be turned off. The
flags can also be used upon invocation of the shell. The current
set of flags may be found in $-. The remaining n ARGs are positional
parameters and are assigned, in order, to $1, $2, .. $n. If no
ARGs are given, all shell variables are printed.
Exit Status:
Returns success unless an invalid option is given.
|
|
2010-01-04 |
Asettaa tai poistaa komentotulkin valitsimia ja positionaalisia parametreja.
Muuttaa komentotulkin attribuutteja ja positionaalisia parametreja, tai
näyttää komentotulkin muuttujien nimet ja arvot.
Valitsimet:
-a Merkitse luodut tai muutetut parametrit vientiä varten.
-b Ilmoita työn päättymisestä välittömästi.
-e Poistu välittömästi jos komento palauttaa nollasta poikkeavan arvon.
-f Poista tiedostonimen lavennus käytöstä.
-h muista komentojen sijainti sitä mukaa kun niitä etsitään.
-k kaikki asetukset sijoitetaan komennon ympäristöön, ei vain ne,
jotka ovat ennen komennon nimeä.
-m Työnohjaus on käytössä.
-n Lue komennot mutta älä suorita niitä.
-o valitsimen nimi
Aseta muuttuja valitsimen nimen mukaan:
allexport sama kuin -a
braceexpand sama kuin -B
emacs käytä emacs-tyylistä rivieditointia
errexit sama kuin -e
errtrace sama kuin -E
functrace sama kuin -T
hashall sama kuin -h
histexpand sama kuin -H
history ota komentohistoria käyttöön
ignoreeof komentotulkki ei poistu syötteen loppuessa
interactive-comments
sallii kommentit interaktiivisissa komennoissa
keyword sama kuin -k
monitor sama kuin -m
noclobber sama kuin -C
noexec sama kuin -n
noglob sama kuin -f
nolog tällä hetkellä hyväksytty mutta ei huomioida
notify sama kuin -b
nounset sama kuin -u
onecmd sama kuin -t
physical sama kuin -P
pipefail komentoputken paluuarvo on viimeisen nollasta
poikkeavan komennon paluuarvo, tai nolla jos
mikään komento ei palauttanut nollasta
poikkeavaa
posix muuta bashin toiminta vastaamaan Posixia
privileged sama kuin -p
verbose sama kuin -v
vi käytä vi-tyylistä komentorivieditointia
xtrace sama kuin -x
-p Asetetaan jos todellinen ja efektiivinen uid eivät täsmää.
Poistaa $ENV-tiedoston käsittelyn ja funktioiden tuonnin käytöstä.
Tämän valitsimen poistaminen aiheuttaa efektiivisen uid:n ja gid:n
(käyttäjä- ja ryhmätunnus) asettamisen todelliseksi uid:ksi ja
gid:ksi.
-t Poistu yhden komennon lukemisen ja suorittamisen jälkeen.
-u Kohtele asettamattomia muuttujia virheenä korvauksen yhteydessä.
-v Tulosta komentotulkin syöterivit lukemisen myötä.
-x Tulosta komennot argumentteineen niitä suoritettaessa.
-B Komentotulkki suorittaa aaltosulkeitten laajentamisen
-C Jos asetettu, estää tavallisten tiedostojen päällekirjoittamisen
uudelleenohjauksella.
-E Jos asetettu, ERR-kaappaus periytyy funktioihin
-H Ota !-tyylinen historian korvaus käyttöön. Tämä on oletusarvoisesti
päällä, mikäli komentotulkki on interaktiivinen.
-P Jos asetettu, älä seuraa symbolisia linkkejä suoritettaessa
hakemistoa vaihtavia komentoja, kuten cd.
-T Jos asetettu, funktiot perivät DEBUG-kaappauksen
- Sijoita loput argumentit positionaalisiin parametreihin. -x - ja
-v -optiot poistetaan käytöstä.
Mikäli käytetään ”+”-merkkiä ”-”:n sijaan, optiot otetaan pois päältä.
Valitsimet voidaan myös asettaa komentotulkin käynnistyksessä.
Asetetut valitsimet löytyvät muuttujasta $-. Loput N ARGUMENTTIA ovat
positionaalisia parametreja ja asetetaan järjestyksessä muuttujiin
$1, $2, .. $N. Jos argumentteja ei ole annettu, tulostetaan kaikki
ympäristömuuttujat.
Paluuarvo:
Palauttaa onnistumisen ellei ole annettu virheellistä valitsinta.
|
|
~ |
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 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.
|
|
2010-01-04 |
Kaappaa signaalit ja muut poikkeamat.
Määrittelee ja aktivoi käsittelijöitä, jotka suoritetaan kun komentotulkki
saa signaalin tai muissa tilanteissa.
ARGUMENTTI on luettava ja suoritettava komento kun tulkki saa
SIGNAALIissa määritellyn signaalin/signaalit. Jos ARGUMENTTI puuttuu
(ja vain yksittäinen SIGNAALI on annettu) tai on ”-”, kukin määrätty
signaali palautetaan oletusarvoonsa. Jos ARGUMENTTI on tyhjä merkkijono,
tulkki ja sen käynnistämät komennot jättävät annetut signaalit huomiotta.
Jos SIGNAALI on EXIT (0), ARGUMENTTI suoritetaan tulkin poistuessa.
Jos SIGNAALI on DEBUG, ARGUMENTTI suoritetaan ennen jokaista yksittäistä
komentoa.
Jos argumentteja ei ole annettu, trap tulostaa kuhunkin signaaliin liitetyt
komennot.
Valitsimet:
-l tulostaa listan signaalien nimistä ja vastaavista numeroista
-p tulostaa kuhunkin signaaliin liitetyt kaappauskomennot
Kukin SIGNAALI on joko signaalin nimi <signal.h>-tiedostossa tai numero.
Signaalien nimet eivät ole aakkoslajillisia ja alkuosa SIG on valinnainen.
Signaali lähetetään tulkille komennolla ”kill -signal $$”.
Paluuarvo:
Palauttaa onnistuneet paitsi jos SIGNAALI on virheellinen tai on annettu
virheellinen valitsin.
|
|
~ |
cd [-L|-P] [dir]
|
|
2010-01-04 |
cd [-L|-P] [dir]
|
|
~ |
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)
-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 NAMEs to lower case on assignment
-r to make NAMEs readonly
-t to make NAMEs have the `trace' attribute
-u to convert NAMEs 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.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
|
|
2010-01-04 |
Asettaa muuttujien arvot ja attribuutit.
Määrittele muuttujat ja anna niille attribuutit. Jos NIMIÄ ei anneta,
näytä kaikkien muuttujien attribuutit ja arvot.
Valitsimet:
-f rajaa toiminto tai listaus funktioiden nimiin ja määrityksiin
-F rajaa listaus ainoastaan funktioiden nimiin (plus rivinumeroon
ja lähdetiedostoon debugattaessa)
-p näytä jokaisen NIMEN attribuutit ja arvo
Attribuutteja muuttavat valitsimet:
-a tee NIMISTÄ indeksoidut taulukot (jos tuettu)
-A tee NIMISTÄ assosiatiiviset taulukot (jos tuettu)
-i tee NIMISTÄ kokonaislukuja
-l NIMIIN sijoitetut merkkijonot muutetaan pienaakkosiksi
-r kirjoitussuojaa NIMET
-t aseta NIMIEN ”trace”-attribuutti
-u NIMIIN sijoitetut merkkijonot muutetaan suuraakkosiksi
-x NIMET viedään
Käyttämällä ”+”:aa ”-”:n sijaan annettu attribuutti poistetaan.
Muuttujille, joille on annettu kokonaislukuattribuutti, suoritetaan
aritmeettinen evaluointi silloin kun niille annetaan arvo (katso
”let”-komento).
Funktiossa käytettäessä ”declare” tekee NIMISTÄ paikallisia, kuten ”local”-
komento.
Paluuarvo:
Palauttaa onnistumisen ellei ole annettu virheellistä valitsinta tai tule
virhetilannetta.
|
|
~ |
Evaluate arithmetic expressions.
Evaluate each ARG as an arithmetic expression. Evaluation is done in
fixed-width integers with no check for overflow, though division by 0
is trapped and flagged as an error. The following list of operators is
grouped into levels of equal-precedence operators. The levels are listed
in order of decreasing precedence.
id++, id-- variable post-increment, post-decrement
++id, --id variable pre-increment, pre-decrement
-, + unary minus, plus
!, ~ logical and bitwise negation
** exponentiation
*, /, % multiplication, division, remainder
+, - addition, subtraction
<<, >> left and right bitwise shifts
<=, >=, <, > comparison
==, != equality, inequality
& bitwise AND
^ bitwise XOR
| bitwise OR
&& logical AND
|| logical OR
expr ? expr : expr
conditional operator
=, *=, /=, %=,
+=, -=, <<=, >>=,
&=, ^=, |= assignment
Shell variables are allowed as operands. The name of the variable
is replaced by its value (coerced to a fixed-width integer) within
an expression. The variable need not have its integer attribute
turned on to be used in an expression.
Operators are evaluated in order of precedence. Sub-expressions in
parentheses are evaluated first and may override the precedence
rules above.
Exit Status:
If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise..
|
|
2010-01-04 |
Laskee matemaattiset lausekkeet.
Laskee jokaisen ARGUMENTIN matemaattisena lausekkeena. Evaluointi
tehdään kiinteänmittaisina kokonaislukuina ilman ylivuodon tarkistamista,
vaikkakin nollalla jako havaitaan ja ilmoitetaan virheenä. Seuraava
operaattorilista on ryhmitelty samanarvoisten operaattoreiden ryhmiin.
Evaluointijärjestys on laskeva.
id++, id-- muuttujan jälkilisäys, jälkivähennys
++id, --id operaattorin etulisäys, etuvähennys
-, + unaarinen miinus, plus
!, ~ looginen ja bittitason negaatio
** potenssiinkorotus
*, /, % kertominen, jakaminen, jakojäännös
+, - lisäys, vähennys
<<, >> bittisiirrot vasemmalle ja oikealle
<=, >=, <, > vertailu
==, != yhtäläisyys, epäyhtäläisyys
& bittitason AND
^ bittitason XOR
| bittitason OR
&& looginen AND
|| looginen OR
expr ? expr : expr
ehdollinen operaattori
=, *=, /=, %=,
+=, -=, <<=, >>=,
&=, ^=, |= sijoitus
Ympäristömuuttujia voidaan käyttää operandeina. Lausekkeessa muuttujan
nimi korvataan sen arvolla (määrämittaiseksi kokonaisluvuksi pakotettuna).
Muuttujan integer-attribuutin ei tarvitse olla asetettuna.
Operaattorit evaluoidaan laskennallisessa järjestyksessä. Suluissa olevat
alilausekkeet evaluoidaan ensin; suluilla voidaan myös muuttaa
edelläkuvattua laskentajärjestystä.
Paluuarvo:
Jos viimeinen ARGUMENTTI evaluoituu nollaksi, let palauttaa 1, muussa
tapauksessa 0.
|
|
1. |
bad array subscript
|
|
2010-01-04 |
virheellinen taulukkoindeksi
|
|
2. |
%s: cannot convert indexed to associative array
|
|
2010-01-04 |
%s: indeksoitua taulukkoa ei voi muuttaa assosiatiiviseksi
|
|
3. |
%s: invalid associative array key
|
|
2010-01-04 |
%s: virheellinen assosiatiivinen indeksi
|
|
4. |
%s: cannot assign to non-numeric index
|
|
2010-01-04 |
%s: ei voida sijoittaa epänumeeriseen indeksiin
|
|
5. |
%s: %s: must use subscript when assigning associative array
|
|
2010-01-04 |
%s: %s: assosiatiiviseen taulukkoon sijoitettaessa täytyy käyttää avainindeksiä
|
|
6. |
%s: cannot create: %s
|
|
2010-01-04 |
%s: ei voida luoda: %s
|
|
7. |
bash_execute_unix_command: cannot find keymap for command
|
|
2010-01-04 |
bash_execute_unix_command: komennolle ei löydy näppäinkarttaa
|
|
8. |
%s: first non-whitespace character is not `"'
|
|
2010-01-04 |
%s: ensimmäinen ei-tyhjä merkki ei ole ”"”
|
|
9. |
no closing `%c' in %s
|
|
2010-01-04 |
ei loppumerkkiä ”%c” rivissä %s
|
|
10. |
%s: missing colon separator
|
|
2010-01-04 |
%s: puuttuva kaksoispiste-erotin
|
|
12. |
line editing not enabled
|
|
2010-01-04 |
rivieditointi ei ole käytössä
|
|
13. |
`%s': invalid keymap name
|
|
2010-01-04 |
”%s”: virheellinen näppäinkartan nimi
|
|
14. |
%s: cannot read: %s
|
|
2010-01-04 |
%s: ei voida lukea: %s
|
|
15. |
`%s': cannot unbind
|
|
2010-01-04 |
”%s”: ei voida irrottaa
|
|
16. |
`%s': unknown function name
|
|
2010-01-04 |
”%s”: tuntematon funktio
|
|
17. |
%s is not bound to any keys.
|
|
2010-01-04 |
%s ei ole sidottu mihinkään näppäimeen.
|
|
18. |
%s can be invoked via
|
|
2010-01-04 |
%s voidaan käynnistää näppäinkomennolla
|
|
19. |
loop count
|
|
2010-01-04 |
toistolaskuri
|
|
20. |
only meaningful in a `for', `while', or `until' loop
|
|
2010-01-04 |
voidaan käyttää vain ”for”-, ”while”- tai ”until”-silmukoissa
|
|
21. |
Returns the context of the current subroutine call.
Without EXPR, returns
|
|
2010-01-04 |
Palauttaa nykyisen alirutiinikutsun kontekstin.
Ilman LAUSEKETTA palauttaa
|
|
22. |
HOME not set
|
|
2010-01-04 |
HOME-ympäristömuuttujaa ei ole asetettu
|
|
23. |
OLDPWD not set
|
|
2010-01-04 |
OLDPWD-ympäristömuuttujaa ei ole asetettu
|
|
24. |
line %d:
|
|
2010-01-04 |
rivi %d:
|
|
25. |
warning:
|
|
2010-01-04 |
varoitus:
|
|
26. |
%s: usage:
|
|
2010-01-04 |
%s: käyttö:
|
|
27. |
too many arguments
|
|
2010-01-04 |
liian monta argumenttia
|
|
28. |
%s: option requires an argument
|
|
2010-01-04 |
%s: valitsin vaatii argumentin
|
|
29. |
%s: numeric argument required
|
|
2010-01-04 |
%s: vaaditaan numeerinen argumentti
|
|
31. |
%s: invalid option
|
|
2010-01-04 |
%s: virheellinen valitsin
|
|
32. |
%s: invalid option name
|
|
2010-01-04 |
%s: virheellinen valitsimen nimi
|
|
33. |
`%s': not a valid identifier
|
|
2010-01-04 |
”%s”: virheellinen tunniste
|
|
34. |
invalid octal number
|
|
2010-01-04 |
virheellinen oktaaliluku
|
|
35. |
invalid hex number
|
|
2010-01-04 |
virheellinen heksadesimaaliluku
|
|
36. |
invalid number
|
|
2010-01-04 |
virheellinen luku
|
|
37. |
%s: invalid signal specification
|
|
2010-01-04 |
%s: virheellinen signaalimääritys
|
|
38. |
`%s': not a pid or valid job spec
|
|
2010-01-04 |
”%s”: ei ole prosessitunnus eikä kelvollinen työtunniste
|
|
39. |
%s: readonly variable
|
|
2010-01-04 |
%s: kirjoitussuojattu muuttuja
|