Translations by Benno Schulenberg

Benno Schulenberg has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

150 of 623 results
~
. With EXPR, returns
2010-09-24
. Met EXPR, resulteert
~
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-09-24
Rekenkundige uitdrukkingen evalueren. Evalueert elk ARGUMENT als een rekenkundige uitdrukking. De evaluatie gebeurt in gehele getallen zonder controle op overloop; maar deling door nul wordt gedetecteerd en wordt getoond als een fout. Onderstaande lijst toont de beschikbare operatoren in groepjes van gelijke voorrang; de groepjes zijn gerangschikt volgens afnemende voorrang. var++, var-- post-increment, post-decrement van variabele ++var, --var pre-increment, pre-decrement van variabele -, + eenzijdig minteken, eenzijdig plusteken !, ~ logisch tegengestelde, bitsgewijs tegengestelde ** machtsverheffing *, /, % vermenigvuldiging, deling, rest +, - optelling, aftrekking <<, >> bitsgewijze verschuiving naar links, naar rechts <=, >=, <, > vergelijkingen ==, != gelijkheid, ongelijkheid & bitsgewijze AND ^ bitsgewijze XOR | bitsgewijze OR && logische AND || logische OR expr ? expr : expr voorwaardelijke uitdrukking =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= toewijzingen Shell-variabelen zijn toegestaan als parameters. De naam van een variabele wordt vervangen door zijn waarde (zonodig omgezet naar een geheel getal). Variabelen hoeven geen 'geheel getal'-eigenschap te hebben om gebruikt te kunnen worden in een expressie. Operatoren worden geëvalueerd in volgorde van voorrang. Subexpressies tussen haakjes worden altijd eerst geëvalueerd en overstijgen zodoende bovengenoemde voorrangsregels. Als het laatste ARGUMENT evalueert tot 0, dan is de afsluitwaarde van 'let' 1; anders 0.
~
Read lines from the standard input into an indexed array variable. Read lines from the standard input into the indexed array variable ARRAY, or from file descriptor FD if the -u option is supplied. The variable MAPFILE is the default ARRAY. Options: -n count Copy at most COUNT lines. If COUNT is 0, all lines are copied. -O origin Begin assigning to ARRAY at index ORIGIN. The default index is 0. -s count Discard the first COUNT lines read. -t Remove a trailing newline from each line read. -u fd Read lines from file descriptor FD instead of the standard input. -C callback Evaluate CALLBACK each time QUANTUM lines are read. -c quantum Specify the number of lines read between each call to CALLBACK. Arguments: ARRAY Array variable name to use for file data. If -C is supplied without -c, the default quantum is 5000. When CALLBACK is evaluated, it is supplied the index of the next array element to be assigned as an additional argument. If not supplied with an explicit origin, mapfile will clear ARRAY before assigning to it. Exit Status: Returns success unless an invalid option is given or ARRAY is readonly or not an indexed array.
2010-09-24
Regels inlezen in een array-variabele. Leest regels van standaardinvoer in in the array-variabele ARRAY. De variabele MAPFILE wordt gebruikt als geen ARRAY gegeven is. Opties: -n AANTAL maximaal dit aantal regels kopiëren (0 = alles) -O BEGIN met toekennen beginnen bij deze index (standaard 0) -s AANTAL dit aantal regels overslaan -t nieuweregelteken aan eind van elke gelezen regel verwijderen -u BES.DES. uit deze bestandsdescriptor lezen i.p.v. uit standaardinvoer -C FUNCTIE deze functie evalueren na elke HOEVEELHEID regels -c HOEVEELHEID het aantal te lezen regels voor elke aanroep van FUNCTIE Argument: ARRAY naam van array-variabele waarin regels ingelezen moeten worden Als '-C' gegeven is zonder '-c', is de standaard-HOEVEELHEID 5000. Wanneer FUNCTIE aangeroepen wordt, wordt hieraan de index van het volgende array-element als extra argument meegegeven. Als geen expliciet BEGIN gegeven is, wordt het array gewist alvorens met toekennen te beginnen. De afsluitwaarde is 0, tenzij ARRAY alleen-lezen is of geen array is, of een ongeldige optie gegeven werd.
~
Modify or display completion options. Modify the completion options for each NAME, or, if no NAMEs are supplied, the completion currently begin executed. If no OPTIONs are givenm, print the completion options for each NAME or the current completion specification. Options: -o option Set completion option OPTION for each NAME -D Change options for the "default" command completion -E Change options for the "empty" command completion Using `+o' instead of `-o' turns off the specified option. Arguments: Each NAME refers to a command for which a completion specification must have previously been defined using the `complete' builtin. If no NAMEs are supplied, compopt must be called by a function currently generating completions, and the options for that currently-executing completion generator are modified. Exit Status: Returns success unless an invalid option is supplied or NAME does not have a completion specification defined.
2010-09-24
Completeringsopties wijzigen of tonen. Wijzigt de completeringsopties van elke gegeven NAAM, of als geen NAAM gegeven is, die van de huidige completering. Als geen OPTIE gegeven is, dan worden de completeringsopties van elke gegeven NAAM getoond, of die van de huidige completering. Opties: -o OPTIE deze completeringsoptie inschakelen voor elke gegeven NAAM -D opties wijzigen voor de standaardcompletering -E opties wijzigen voor de completering van een lege opdracht Het gebruik van '+o' i.p.v. '-o' schakelt de betreffende optie _uit_. Elke NAAM dient te refereren aan een opdracht waarvoor reeds een completeringsvoorschrift gedefinieerd is via de opdracht 'complete'. Als geen NAAM gegeven is, dan dient 'compopt' aangeroepen te worden door een functie die momenteel completeringen genereert; dan worden de opties voor die draaiende completeringsgenerator gewijzigd. De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of voor NAAM geen completeringsvoorschrift gedefinieerd is.
~
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-09-24
Waarden en eigenschappen van variabelen instellen. Declareert de gegeven variabelen en/of kent hen eigenschappen toe. Als er geen namen van variabelen gegeven zijn, dan worden de bestaande variabelen en hun waarden getoond. Opties: -f alleen de gedefinieerde functies tonen (geen variabelen) -F alleen de namen van de functies tonen, zonder de definities -p van elke gegeven variabele de eigenschappen en waarde tonen Eigenschappen: -a van gegeven variabelen arrays maken (indien mogelijk) -A van gegeven variabelen associatieve arrays maken (indien mogelijk) -i aan gegeven variabelen de 'geheel getal'-eigenschap toekennen -l gegeven variabelen bij toekenning omzetten naar kleine letters -r de gegeven variabelen alleen-lezen maken -t aan gegeven variabelen de 'trace'-eigenschap toekennen -u gegeven variabelen bij toekenning omzetten naar hoofdletters -x de gegeven variabelen exporteren Een '+' in plaats van een '-' voor de letter schakelt de betreffende eigenschap uit. Bij variabelen met de 'geheel getal'-eigenschap wordt bij toewijzingen een rekenkundige evaluatie gedaan (zie 'let'). Als 'declare' wordt gebruikt in een functie, dan maakt het elke gegeven naam lokaal, net zoals de opdracht 'local'. De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of er een fout optrad.
~
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-09-24
Argumenten volgens een opmaakvoorschrift opmaken en printen. Print de gegeven ARGUMENTEN, opgemaakt volgens de gegeven OPMAAK. Optie: -v VAR de uitvoer in de variabele VAR plaatsen in plaats van deze naar standaarduitvoer te sturen De OPMAAK-tekenreeks bestaat uit drie soorten tekens: gewone tekens, die simpelweg naar standaarduitvoer gekopieerd worden; stuurtekens, die omgezet worden en dan naar standaarduitvoer gekopieerd worden; en opmaaksymbolen, die elk steeds het volgende argument doen printen. Naast de standaard %-opmaaksymbolen van printf(1), "diouxXfeEgGcs", betekent %b dat de backslash-stuurtekens in het betreffende argument omgezet moeten worden, en betekent %q dat het argument op zo'n manier aangehaald moet worden dat het als invoer voor de shell hergebruikt kan worden. De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of er een fout optrad.
~
; 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.
2010-09-24
. Deze tweede vorm kan gebruikt worden om een 'stack trace' te produceren. De waarde van EXPR geeft aan hoeveel frames er teruggegaan moet worden; het top-frame heeft nummer 0.
~
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-09-24
Waarden van shell-opties of positionele parameters instellen. Schakelt shell-eigenschappen in/uit, of verandert waarden van positionele parameters. Zonder opties of argumenten toont 'set' de namen en waarden van alle gedefinieerde variabelen en functies, in een vorm die als invoer hergebruikt kan worden. De volgende opties zijn beschikbaar (een '+' in plaats van een '-' schakelt de betreffende eigenschap _uit_ i.p.v. in): -a nieuwe of gewijzigde variabelen en functies automatisch exporteren -B accoladevervanging uitvoeren (is standaard, b.v. a{b,c} -> ab ac) -b beëindiging van een taak direct melden (i.p.v. na huidige opdracht) -C omleiding van uitvoer mag gewone bestanden niet overschrijven -E een 'trap' op ERR door laten werken in functies en dochterprocessen -e de shell afsluiten zodra afsluitwaarde van een opdracht niet nul is -f jokertekens voor bestandsnamen uitschakelen (geen 'globbing') -H geschiedenisopdracht '!' beschikbaar stellen (standaard) -h het volledige pad van opdrachten onthouden na eerste keer opzoeken -k ook nakomende toewijzingen aan variabelen in de omgeving plaatsen -m taakbesturing beschikbaar stellen (standaard) -n opdrachten wel lezen maar niet uitvoeren ("droogzwemmen") -o OPTIENAAM deze optie inschakelen (zie verderop voor de lange namen) -P fysieke paden volgen in plaats van symbolische koppelingen -p geprivilegeerde modus: de bestanden aangeduid door ENV en BASH_ENV worden genegeerd, functies worden niet uit de omgeving geïmporteerd, en ook eventuele SHELLOPTS worden genegeerd; modus wordt automatisch ingeschakeld als effectieve en echte UID of GID niet overeenkomen; uitschakelen maakt dan effectieve UID en GID gelijk aan de echte -T een 'trap' op DEBUG door laten werken in functies en dochterprocessen -t afsluiten na het lezen en uitvoeren van één opdracht -u het gebruik van niet-bestaande variabelen behandelen als een fout -v invoerregel weergeven ("echoën") zodra deze gelezen is -x elke opdracht met argumenten weergeven voordat deze wordt uitgevoerd -- nakomende argumenten zijn positionele parameters; als er geen verdere argumenten zijn, worden de bestaande positionele parameters gewist - opties -v en -x uitschakelen; nakomende argumenten zijn positionele parameters; maar zonder argumenten worden de bestaande niet gewist De opties kunnen ook gebruikt worden bij het starten van de shell. De huidige toestand van de eigenschappen is te vinden in $-. Eventuele extra argumenten van 'set' worden begrepen als positionele parameters en worden toegewezen aan $1, $2, ... $N. De lange namen voor gebruik met optie -o (of +o) zijn: allexport == -a (automatisch exporteren van nieuwen/gewijzigden) braceexpand == -B (accoladevervanging uitvoeren) emacs regelbewerkingsinterface in stijl van 'emacs' gebruiken errexit == -e (shell afsluiten bij eerste fout) errtrace == -E ('trap' op ERR overal laten gelden) functrace == -T ('trap' op DEBUG overal laten gelden) hashall == -h (gevonden pad van opdrachten onthouden) histexpand == -H ('!'-opdracht beschikbaar stellen) history opdrachtengeschiedenis beschikbaar stellen ignoreeof Ctrl-D negeren; de shell niet afsluiten bij lezen van EOF interactive-comments commentaar in interactieve opdrachten toestaan keyword == -k (nakomende toewijzingen ook meenemen) monitor == -m (taakbesturing beschikbaar stellen) noclobber == -C (omleidingen geen bestanden laten overschrijven) noexec == -n (opdrachten lezen maar niet uitvoeren) noglob == -f (jokertekens uitschakelen) nolog (herkend maar genegeerd) notify == -b (beëindiging van een taak direct melden) nounset == -u (niet-bestaande variabelen als een fout beschouwen) onecmd == -t (afsluiten na uitvoeren van één opdracht) physical == -P (fysieke paden volgen i.p.v. symbolische) pipefail de afsluitwaarde van een pijplijn gelijkmaken aan die van de laatste niet-succesvolle opdracht in de reeks, of aan 0 als alle opdrachten succesvol waren posix de voorschriften van de POSIX-standaard strict volgen privileged == -p (geprivilegeerde modus) verbose == -v (elke invoerregel echoën) vi regelbewerkingsinterface in stijl van 'vi' gebruiken xtrace == -x (elke opdracht echoën) De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd.
~
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-09-24
De huidige map wijzigen. Wijzigt de huidige map naar de gegeven MAP. Als geen MAP gegeven is, dan wordt de waarde van de variabele HOME gebruikt. De variabele CDPATH definieert de mappen waarin naar MAP gezocht wordt. De mapnamen in CDPATH worden gescheiden door dubbele punten (:); een lege mapnaam is hetzelfde als de huidige map (.). Als MAP begint met een slash (/), dan wordt CDPATH niet gebruikt. Als de gegeven map niet wordt gevonden, en shell-optie 'cdable_vars' is ingeschakeld, dan wordt het gegeven woord als een variabelenaam begrepen, en als die variabele een naam bevat, dan gaat 'cd' naar de map met die naam. Opties: -L symbolische koppelingen volgen (standaard) -P de fysieke mappenstructuur gebruiken; symbolische koppelingen worden eerst "vertaald" De afsluitwaarde is 0 als de gewenste map ingesteld kon worden, anders 1.
~
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..
2009-08-24
Rekenkundige uitdrukkingen evalueren. Evalueert elk ARGUMENT als een rekenkundige uitdrukking. De evaluatie gebeurt in gehele getallen zonder controle op overloop; maar deling door nul wordt gedetecteerd en wordt getoond als een fout. Onderstaande lijst toont de beschikbare operatoren in groepjes van gelijke voorrang; de groepjes zijn gerangschikt volgens afnemende voorrang. var++, var-- post-increment, post-decrement van variabele ++var, --var pre-increment, pre-decrement van variabele -, + eenzijdig minteken, eenzijdig plusteken !, ~ logisch tegengestelde, bitsgewijs tegengestelde ** machtsverheffing *, /, % vermenigvuldiging, deling, rest +, - optelling, aftrekking <<, >> bitsgewijze verschuiving naar links, naar rechts <=, >=, <, > vergelijkingen ==, != gelijkheid, ongelijkheid & bitsgewijze AND ^ bitsgewijze XOR | bitsgewijze OR && logische AND || logische OR expr ? expr : expr voorwaardelijke uitdrukking =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= toewijzingen Shell-variabelen zijn toegestaan als parameters. De naam van een variabele wordt vervangen door zijn waarde (zonodig omgezet naar een geheel getal). Variabelen hoeven geen 'geheel getal'-attribuut te hebben om gebruikt te kunnen worden in een expressie. Operatoren worden geëvalueerd in volgorde van voorrang. Subexpressies tussen haakjes worden altijd eerst geëvalueerd en overstijgen zodoende bovengenoemde voorrangsregels. Als het laatste ARGUMENT evalueert tot 0, dan is de afsluitwaarde van 'let' 1; anders 0.
~
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.
2009-08-24
Een conditionele expressie evalueren. Evalueert de gegeven EXPRESSIE; afhankelijk van het resultaat is de afsluitwaarde 0 ("waar") of 1 ("onwaar"). De expressies kunnen eenzijdig of tweezijdig zijn; eenzijdige expressies worden vaak gebruikt om de toestand van een bestand te inspecteren. Er zijn ook operatoren voor tekenreeksen en voor getalsmatige vergelijkingen. Bestandsoperatoren: -a BESTAND waar als bestand bestaat -b BESTAND waar als bestand een blok-apparaat is -c BESTAND waar als bestand een byte-apparaat is -d BESTAND waar als bestand een map is -e BESTAND waar als bestand bestaat -f BESTAND waar als bestand een gewoon bestand is -G BESTAND waar als uw groep het bestand effectief bezit -g BESTAND waar als bestand SETGUID is -h BESTAND waar als bestand een symbolische koppeling is -k BESTAND waar als bestand "sticky"-bit aan heeft staan -L BESTAND waar als bestand een symbolische koppeling is -N BESTAND waar als bestand gewijzigd is sinds laatste lezing -O BESTAND waar als u het bestand effectief bezit -p BESTAND waar als bestand een benoemde pijp is -r BESTAND waar als bestand voor u leesbaar is -S BESTAND waar als bestand een socket is -s BESTAND waar als bestand niet leeg is -t DESCRIPTOR waar als bestandsdescriptor geopend is op een terminal -u BESTAND waar als bestand SETUID is -w BESTAND waar als bestand voor u schrijfbaar is -x BESTAND waar als bestand door u uitvoerbaar is BEST1 -nt BEST2 waar als eerste bestand later gewijzigd is dan tweede BEST1 -ot BEST2 waar als eerste bestand eerder gewijzigd is dan tweede BEST1 -ef BEST2 waar als eerste bestand harde koppeling is naar tweede Tekenreeksoperatoren: -z REEKS waar als tekenreeks leeg is -n REEKS waar als tekenreeks niet leeg is REEKS waar als tekenreeks niet leeg is RKS1 = RKS2 waar als de tekenreeksen gelijk zijn RKS1 != RKS2 waar als de tekenreeksen niet gelijk zijn RKS1 < RKS2 waar als eerste reeks lexicografisch voor de tweede komt RKS1 > RKS2 waar als eerste reeks lexicografisch na de tweede komt Andere operatoren: -o OPTIE waar als de shell-optie ingeschakeld is ! EXPR waar als EXPR onwaar is EXPR1 -a EXPR2 waar als beide expressies waar zijn EXPR1 -o EXPR2 onwaar als beide expressies onwaar zijn ARG1 VGL ARG2 waar als rekenkundige vergelijking klopt; VGL is één van de volgende: -eq, -ne, -lt, -le, -gt, -ge; ze betekenen: gelijk, ongelijk, kleiner dan, kleiner of gelijk, groter dan, groter of gelijk De afsluitwaarde is 0 als EXPRESSIE waar is, 1 als EXPRESSIE onwaar is, en 2 als een ongeldig argument gegeven werd.
~
cd [-L|-P] [dir]
2009-08-24
cd [-L|-P] [MAP]
~
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.
2009-08-24
Waarden en attributen van variabelen instellen. Declareert de gegeven variabelen en/of kent hen attributen toe. Als er geen namen van variabelen gegeven zijn, dan worden de bestaande variabelen en hun waarden getoond. Opties: -f alleen de gedefinieerde functies tonen (geen variabelen) -F alleen de namen van de functies tonen, zonder de definities -p van elke gegeven variabele de attributen en waarde tonen Attributen: -a van gegeven variabelen arrays maken (indien mogelijk) -A van gegeven variabelen associatieve arrays maken (indien mogelijk) -i aan gegeven variabelen het 'geheel getal'-attribuut toekennen -l gegeven variabelen bij toekenning omzetten naar kleine letters -r de gegeven variabelen alleen-lezen maken -t aan gegeven variabelen het 'trace'-attribuut toekennen -u gegeven variabelen bij toekenning omzetten naar hoofdletters -x de gegeven variabelen exporteren Een '+' in plaats van een '-' voor de letter schakelt het betreffende attribuut uit. Bij variabelen met het 'geheel getal'-attribuut wordt bij toewijzingen een rekenkundige evaluatie gedaan (zie 'let'). Als 'declare' wordt gebruikt in een functie, dan maakt het elke gegeven naam lokaal, net zoals de opdracht 'local'. De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of er een fout optreedt.
~
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.
2009-08-24
Waarden van shell-opties of positionele parameters instellen. Schakelt shell-attributen in of uit, of verandert waarden van positionele parameters. Zonder opties of argumenten toont 'set' de namen en waarden van alle gedefinieerde variabelen en functies, in een vorm die als invoer hergebruikt kan worden. De volgende opties zijn beschikbaar (een '+' in plaats van een '-' schakelt het betreffende attribuut _uit_ i.p.v. in): -a nieuwe of gewijzigde variabelen en functies automatisch exporteren -B accoladevervanging uitvoeren (is standaard, b.v. a{b,c} -> ab ac) -b beëindiging van een taak direct melden (i.p.v. na huidige opdracht) -C omleiding van uitvoer mag gewone bestanden niet overschrijven -E een 'trap' op ERR door laten werken in functies en dochterprocessen -e de shell afsluiten zodra afsluitwaarde van een opdracht niet nul is -f jokertekens voor bestandsnamen uitschakelen (geen 'globbing') -H geschiedenisopdracht '!' beschikbaar stellen (standaard) -h het volledige pad van opdrachten onthouden na eerste keer opzoeken -k ook nakomende toewijzingen aan variabelen in de omgeving plaatsen -m taakbesturing beschikbaar stellen (standaard) -n opdrachten wel lezen maar niet uitvoeren ("droogzwemmen") -o OPTIENAAM deze optie inschakelen (zie verderop voor de lange namen) -P fysieke paden volgen in plaats van symbolische koppelingen -p geprivilegeerde modus: de bestanden aangeduid door ENV en BASH_ENV worden genegeerd, functies worden niet uit de omgeving geïmporteerd, en ook eventuele SHELLOPTS worden genegeerd; modus wordt automatisch ingeschakeld als effectieve en echte UID of GID niet overeenkomen; uitschakelen maakt dan effectieve UID en GID gelijk aan de echte -T een 'trap' op DEBUG door laten werken in functies en dochterprocessen -t afsluiten na het lezen en uitvoeren van één opdracht -u het gebruik van niet-bestaande variabelen behandelen als een fout -v invoerregel weergeven ("echoën") zodra deze gelezen is -x elke opdracht met argumenten weergeven voordat deze wordt uitgevoerd -- nakomende argumenten zijn positionele parameters; als er geen verdere argumenten zijn, worden de bestaande positionele parameters gewist - opties -v en -x uitschakelen; nakomende argumenten zijn positionele parameters; maar zonder argumenten worden de bestaande niet gewist De opties kunnen ook gebruikt worden bij het starten van de shell. De huidige toestand van de attributen is te vinden in $-. Eventuele extra argumenten van 'set' worden begrepen als positionele parameters en worden toegewezen aan $1, $2, ... $N. De lange namen voor gebruik met optie -o (of +o) zijn: allexport == -a (automatisch exporteren van nieuwen/gewijzigden) braceexpand == -B (accoladevervanging uitvoeren) emacs regelbewerkingsinterface in stijl van 'emacs' gebruiken errexit == -e (shell afsluiten bij eerste fout) errtrace == -E ('trap' op ERR overal laten gelden) functrace == -T ('trap' op DEBUG overal laten gelden) hashall == -h (gevonden pad van opdrachten onthouden) histexpand == -H ('!'-opdracht beschikbaar stellen) history opdrachtengeschiedenis beschikbaar stellen ignoreeof Ctrl-D negeren; de shell niet afsluiten bij lezen van EOF interactive-comments commentaar in interactieve opdrachten toestaan keyword == -k (nakomende toewijzingen ook meenemen) monitor == -m (taakbesturing beschikbaar stellen) noclobber == -C (omleidingen geen bestanden laten overschrijven) noexec == -n (opdrachten lezen maar niet uitvoeren) noglob == -f (jokertekens uitschakelen) nolog (herkend maar genegeerd) notify == -b (beëindiging van een taak direct melden) nounset == -u (niet-bestaande variabelen als een fout beschouwen) onecmd == -t (afsluiten na uitvoeren van één opdracht) physical == -P (fysieke paden volgen i.p.v. symbolische) pipefail de afsluitwaarde van een pijplijn gelijkmaken aan die van de laatste niet-succesvolle opdracht in de reeks, of aan 0 als alle opdrachten succesvol waren posix de voorschriften van de POSIX-standaard strict volgen privileged == -p (geprivilegeerde modus) verbose == -v (elke invoerregel echoën) vi regelbewerkingsinterface in stijl van 'vi' gebruiken xtrace == -x (elke opdracht echoën) De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd.
~
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.
2009-08-24
De huidige map wijzigen. Wijzigt de huidige map naar de gegeven MAP. Als geen MAP gegeven is, dan wordt de waarde van de variabele HOME gebruikt. De variabele CDPATH definieert de mappen waarin naar MAP gezocht wordt. De mapnamen in CDPATH worden gescheiden door dubbele punten (:); een lege mapnaam is hetzelfde als de huidige map (.). Als MAP begint met een slash (/), dan wordt CDPATH niet gebruikt. Als de gegeven map niet wordt gevonden, en shell-optie 'cdable_vars' is ingeschakeld, dan wordt het gegeven woord als een variabelenaam begrepen, en als die variabele een naam bevat, dan gaat 'cd' naar de map met die naam. Opties: -L symbolische koppelingen volgen (standaard) -P de fysieke mappenstructuur gebruiken; symbolische koppelingen worden eerst "vertaald" De afsluitwaarde is 0 als de gewenste map ingesteld kon worden, anders 1.
~
set [--abefhkmnptuvxBCHP] [-o option-name] [arg ...]
2009-08-24
set [--abefhkmnptuvxBCHP] [-o OPTIENAAM] [ARGUMENT...]
~
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.
2009-08-24
Signalen en andere gebeurtenissen opvangen. Definieert en activeert afhandelingsprocedures die uitgevoerd moeten worden wanneer de shell een signaal of andere gebeurtenissen ontvangt. ARGUMENT is een opdracht die gelezen en uitgevoerd wordt wanneer de shell een van de opgegeven signalen ontvangt. Als ARGUMENT ontbreekt en er één signaal gegeven is, of wanneer ARGUMENT '-' is, dan worden de opgegeven signalen teruggezet op de waarde die ze hadden bij het starten van deze shell. Als ARGUMENT de lege tekenreeks is, dan worden de opgegeven signalen genegeerd door zowel deze shell als door alle dochterprocessen. Als EXIT (0) als signaal opgegeven wordt, dan wordt ARGUMENT uitgevoerd bij het afsluiten van de shell. Als DEBUG als signaal opgegeven wordt, dan wordt ARGUMENT uitgevoerd vóór elke enkelvoudige opdracht. Als RETURN als signaal opgegeven wordt, dan wordt ARGUMENT uitgevoerd elke keer als een functie (of een met 'source' aangeroepen script) terugkeert. Als ERR als signaal opgegeven wordt, dan wordt ARGUMENT uitgevoerd elke keer als een enkelvoudige opdracht eindigt met een afsluitwaarde die niet nul is. Als er geen enkel argument gegeven is, dan toont 'trap' welke opdrachten er met welke signalen verbonden zijn. Opties: -l een overzicht tonen van signaalnummers en hun namen -p voor elk gegeven signaal tonen welke opdracht ermee verbonden is Signalen kunnen als naam of als nummer opgegeven worden, in hoofd- of in kleine letters, en het voorvoegsel 'SIG' is optioneel. Merk op dat met 'kill -signaal $$' een signaal naar de huidige shell gestuurd kan worden. De afsluitwaarde is 0, tenzij een ongeldige optie of SIGNAALAANDUIDING gegeven werd.
~
typeset [-aAfFilrtux] [-p] name[=value] ...
2009-08-24
typeset [-aAfFilrtux] [-p] NAAM[=WAARDE]...
~
declare [-aAfFilrtux] [-p] [name[=value] ...]
2009-08-24
declare [-aAfFilrtux] [-p] [NAAM[=WAARDE]...]
~
readonly [-af] [name[=value] ...] or readonly -p
2009-08-24
readonly [-af] [NAAM[=WAARDE] ...] of 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.
2009-08-24
Argumenten volgens een opmaakvoorschrift opmaken en printen. Print de gegeven ARGUMENTEN, opgemaakt volgens de gegeven OPMAAK. Optie: -v VAR de uitvoer in de variabele VAR plaatsen in plaats van deze naar standaarduitvoer te sturen De OPMAAK-tekenreeks bestaat uit drie soorten tekens: gewone tekens, die simpelweg naar standaarduitvoer gekopieerd worden; stuurtekens, die omgezet worden en dan naar standaarduitvoer gekopieerd worden; en opmaaksymbolen, die elk steeds het volgende argument doen printen. Naast de standaard %-opmaaksymbolen van printf(1), "diouxXfeEgGcs", betekent %b dat de backslash-stuurtekens in het betreffende argument omgezet moeten worden, en betekent %q dat het argument op zo'n manier aangehaald moet worden dat het als invoer voor de shell hergebruikt kan worden. De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of er een fout optreedt.
1.
bad array subscript
2007-04-08
ongeldige array-index
2.
%s: cannot convert indexed to associative array
2009-08-24
%s: kan geïndexeerd array niet omzetten naar associatief array
3.
%s: invalid associative array key
2009-08-24
%s: ongeldige sleutel voor associatief array
4.
%s: cannot assign to non-numeric index
2007-04-08
%s: niet-numerieke index is niet mogelijk
5.
%s: %s: must use subscript when assigning associative array
2009-08-24
%s: %s: een index is nodig bij toekenning aan associatief array
6.
%s: cannot create: %s
2007-04-08
Kan %s niet aanmaken: %s
7.
bash_execute_unix_command: cannot find keymap for command
2009-08-24
bash_execute_unix_command(): kan voor opdracht geen toetsenkaart vinden
8.
%s: first non-whitespace character is not `"'
2007-04-08
%s: eerste teken dat geen witruimte is is niet '"'
9.
no closing `%c' in %s
2007-04-08
geen sluit-'%c' in %s
10.
%s: missing colon separator
2007-04-08
%s: ontbrekend scheidingsteken (dubbele punt)
11.
`%s': invalid alias name
2010-09-24
'%s': ongeldige naam voor alias
12.
line editing not enabled
2010-09-24
regelbewerking is niet ingeschakeld
13.
`%s': invalid keymap name
2007-04-08
'%s': ongeldige naam voor toetsenkaart
14.
%s: cannot read: %s
2007-04-08
Kan %s niet lezen: %s
15.
`%s': cannot unbind
2007-04-08
Kan %s niet losmaken
16.
`%s': unknown function name
2007-04-08
'%s': onbekende functienaam
17.
%s is not bound to any keys.
2007-04-08
%s is aan geen enkele toets gebonden
18.
%s can be invoked via
2007-04-08
%s kan worden aangeroepen via
19.
loop count
2009-08-24
herhalingsaantal
20.
only meaningful in a `for', `while', or `until' loop
2007-04-08
heeft alleen betekenis in een 'for'-, 'while'- of 'until'-lus
21.
Returns the context of the current subroutine call. Without EXPR, returns
2010-09-24
De context geven van de huidige functie-aanroep. Zonder EXPR, resulteert
22.
HOME not set
2007-04-08
HOME is niet gedefinieerd
23.
OLDPWD not set
2007-04-08
OLDPWD is niet gedefinieerd
24.
line %d:
2009-08-24
regel %d:
25.
warning:
2009-08-24
waarschuwing:
26.
%s: usage:
2009-08-24
%s: Gebruik:
27.
too many arguments
2007-04-08
te veel argumenten
28.
%s: option requires an argument
2007-04-08
%s: optie vereist een argument
29.
%s: numeric argument required
2007-04-08
%s: vereist een numeriek argument